|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.japaki.text.AbstractParser<Object>
net.sf.japaki.text.LineFeed
public class LineFeed
Inserts a line break.
| Method Summary | |
|---|---|
static Parser<Object> |
getInstance()
Returns the singleton instance of this class. |
protected void |
parseIt(ParseReader in,
Object target)
Parses text starting at the specified position. |
String |
treeView()
Returns a tree view of this parser. |
protected void |
writeIt(ParseWriter out,
Object source)
Formats the source object and writes it into the output stream |
| Methods inherited from class net.sf.japaki.text.AbstractParser |
|---|
getLogger, handleException, parse, toString, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static Parser<Object> getInstance()
protected void parseIt(ParseReader in,
Object target)
throws IOException,
ParseException
AbstractParser
parseIt in class AbstractParser<Object>in - the position where to start parsingtarget - place where the parsed object is stored.
IOException - if an I/O error occurs
ParseException - if the beginning of the string in in
cannot be parsed
protected void writeIt(ParseWriter out,
Object source)
throws IOException
AbstractParser
writeIt in class AbstractParser<Object>out - the stream and position where to put the formatted text.source - source object
IOException - if an I/O error occurspublic String treeView()
Parser
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||