| java.lang.Object jimm.datavision.source.charsep.DelimParser
DelimParser | public class DelimParser (Code) | | Parses delimited data. Handles quotes and embedded delimiters.
author: Jim Menard, jimm@io.com |
Method Summary | |
protected int | nextChar() | public List | parse() Returns an array of column data or null if there is no more
data. | protected void | pushback(int charAsInt) |
EOF | final public static int EOF(Code) | | |
delimiter | protected char delimiter(Code) | | |
pushbackChar | protected int pushbackChar(Code) | | |
DelimParser | public DelimParser(Reader in)(Code) | | Constructor, using ',' as the delimiter. The caller must close
in.
Parameters: in - input reader |
DelimParser | public DelimParser(Reader in, char delimiter)(Code) | | Constructor. The caller must close in.
Parameters: in - input reader Parameters: delimiter - delimiter character |
parse | public List parse() throws IOException(Code) | | Returns an array of column data or null if there is no more
data. Handles delimiters and quotes within the data just as they are
generated by Excel comma- and tab-separated files.
a List of strings; return null ifthere is no more data. |
pushback | protected void pushback(int charAsInt)(Code) | | |
|
|