|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.virbo.dsutil.AsciiParser.RegexParser
public final class AsciiParser.RegexParser
Constructor Summary | |
---|---|
AsciiParser.RegexParser(java.lang.String regex)
|
Method Summary | |
---|---|
int |
fieldCount()
indicate the number of fields this RecordParser is expecting on each line. |
int |
fieldCount(java.lang.String line)
return what this would be if spitting by whitespace. |
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.RegexParser(java.lang.String regex)
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)
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 |