Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.media.mn8.util.textparser
Class TextParser  view TextParser download TextParser.java

java.lang.Object
  extended byorg.media.mn8.util.textparser.TextParser

public class TextParser
extends java.lang.Object

Version:
$Revision: 1.2 $ $Date: 2002/10/24 05:37:30 $

Field Summary
private  Token _rootToken
           
private  java.lang.StringBuffer _text
           
static java.lang.String EOL
           
(package private)  int maximColumnNr
           
(package private)  int totalLineNr
           
 
Constructor Summary
TextParser(java.lang.String text)
           
 
Method Summary
private  void _mththis()
           
protected  void cleanEmptyLines()
           
protected  Token getParagraphs(java.lang.String text)
           
static void main(java.lang.String[] args)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 java.lang.String toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EOL

public static java.lang.String EOL

_text

private java.lang.StringBuffer _text

totalLineNr

int totalLineNr

maximColumnNr

int maximColumnNr

_rootToken

private Token _rootToken
Constructor Detail

TextParser

public TextParser(java.lang.String text)
Method Detail

getParagraphs

protected Token getParagraphs(java.lang.String text)

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).


toXML

public java.lang.String toXML()

cleanEmptyLines

protected void cleanEmptyLines()

main

public static void main(java.lang.String[] args)

_mththis

private final void _mththis()