|
Copyright (C) 2003,2004 dr. Cristiano Sadun | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface allows users to define their own syntax for
conditionsand
line formatspecifications.
| Method Summary | |
LineFormat |
getLineFormat(FlatFileParser.Condition condition)
Given a condition, return the associated line format. |
FlatFileParser.Condition[] |
parseStream(java.io.InputStream is)
Interpret the stream and extract conditions and associated line formats, storing them. |
void |
reset()
Reset the parser so that a new parsing can occur. |
| Method Detail |
public FlatFileParser.Condition[] parseStream(java.io.InputStream is)
throws java.io.IOException,
FFPStreamParseException
is - the stream from which to read.
conditions.
ParseException - if an error occurs during parsing
java.io.IOException
FFPStreamParseExceptionpublic LineFormat getLineFormat(FlatFileParser.Condition condition)
condition - the key FlatFileParser.Condition
LineFormat.public void reset()
|
Copyright (C) 2003,2004 dr. Cristiano Sadun | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||