## org.das2.qds.util.AsciiParser.RegexParser

parser uses a regular expression to match each record.

## RegexParser( org.das2.qds.util.AsciiParser parser, String regex )

fieldCount( ) → int [view source]

## fieldCount

fieldCount( String line ) → int

return what this would be if spitting by whitespace.

### Parameters

line - a String

### Returns:

int
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## fields

fields( String line ) → String[]

show the fields found in the line. This assumes the line will match.

### Parameters

line - a String

### Returns:

the groups.
[search for examples] [view on GitHub] [view on old javadoc] [view source]
getNamedGroups( String regex ) → String[] [view source]
readNextRecord( java.io.BufferedReader reader ) → String [view source]
splitRecord( String line, String[] fields ) → boolean [view source]
toString( ) → String [view source]
tryParseRecord( String line, int irec, org.das2.qds.util.DataSetBuilder builder ) → boolean [view source]