|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.virbo.dsutil.AsciiParser.FixedColumnsParser
public final class AsciiParser.FixedColumnsParser
Constructor Summary | |
---|---|
AsciiParser.FixedColumnsParser(int[] columnOffsets,
int[] columnWidths)
|
Method Summary | |
---|---|
int |
fieldCount()
indicate the number of fields this RecordParser is expecting on each line. |
int |
fieldCount(java.lang.String line)
return the number of fields in this line. |
java.lang.String[] |
fields(java.lang.String line)
return the string for each field. |
boolean |
tryParseRecord(java.lang.String line,
int irec,
DataSetBuilder builder)
returns true if the line appears to be a record. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AsciiParser.FixedColumnsParser(int[] columnOffsets, int[] columnWidths)
Method Detail |
---|
public int fieldCount()
AsciiParser.RecordParser
fieldCount
in interface AsciiParser.RecordParser
public final boolean tryParseRecord(java.lang.String line, int irec, DataSetBuilder builder)
AsciiParser.RecordParser
tryParseRecord
in interface AsciiParser.RecordParser
public int fieldCount(java.lang.String line)
AsciiParser.RecordParser
fieldCount
in interface AsciiParser.RecordParser
public java.lang.String[] fields(java.lang.String line)
AsciiParser.RecordParser
fields
in interface AsciiParser.RecordParser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |