<h2>org.das2.qds.util.AsciiParser.DelimParser</h2><p>DelimParser splits the line on a regex (like "," or "\\s+") to create the fields. Trailing and leading whitespace is ignored.</p> <h2>DelimParser( int fieldCount, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> delim )</h2> <p></p> <hr> <a name="header"></a> <h2>header</h2> <p></p> <hr> <a name="fieldCount"></a> <h2>fieldCount</h2> fieldCount( ) → int <p></p> <h3>Returns:</h3> int <br><br> <a href="https://github.com/autoplot/dev/search?q=fieldCount&unscoped_q=fieldCount">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/util/AsciiParser.DelimParser.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/util/AsciiParser.DelimParser.html#fieldCount">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/util/AsciiParser.DelimParser.java#l1899">[view source]</a> <br> <br> fieldCount( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> line ) → int<br> <hr> <a name="getDelim"></a> <h2>getDelim</h2> getDelim( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> <p>returns the delimiter, which is a regex. Examples include "," "\t", and "\s+"</p> <h3>Returns:</h3> a String <br><br> <a href="https://github.com/autoplot/dev/search?q=getDelim&unscoped_q=getDelim">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/util/AsciiParser.DelimParser.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/util/AsciiParser.DelimParser.html#getDelim">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/util/AsciiParser.DelimParser.java#l1780">[view source]</a> <br> <br> <hr> <a name="readNextRecord"></a> <h2>readNextRecord</h2> readNextRecord( <a href='https://docs.oracle.com/javase/8/docs/api/java/io/BufferedReader.html'>java.io.BufferedReader</a> reader ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> <p></p> <h3>Parameters</h3> reader - a BufferedReader <h3>Returns:</h3> java.lang.String <br><br> <a href="https://github.com/autoplot/dev/search?q=readNextRecord&unscoped_q=readNextRecord">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/util/AsciiParser.DelimParser.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/util/AsciiParser.DelimParser.html#readNextRecord">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/util/AsciiParser.DelimParser.java#l1798">[view source]</a> <br> <br> <hr> <a name="setGuessUnits"></a> <h2>setGuessUnits</h2> setGuessUnits( boolean guess ) → void <p>if true, then try to guess the units of the data coming in. If most fields will be non-enumeration, then the flag is cleared.</p> <h3>Parameters</h3> guess - a boolean <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=setGuessUnits&unscoped_q=setGuessUnits">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/util/AsciiParser.DelimParser.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/util/AsciiParser.DelimParser.html#setGuessUnits">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/util/AsciiParser.DelimParser.java#l1793">[view source]</a> <br> <br> <hr> <a name="setShowException"></a> <h2>setShowException</h2> setShowException( boolean s ) → void <p></p> <h3>Parameters</h3> s - a boolean <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=setShowException&unscoped_q=setShowException">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/util/AsciiParser.DelimParser.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/util/AsciiParser.DelimParser.html#setShowException">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/util/AsciiParser.DelimParser.java#l1784">[view source]</a> <br> <br> <hr> <a name="setSkipField"></a> <h2>setSkipField</h2> setSkipField( int ifield, boolean skip ) → void <p></p> <h3>Parameters</h3> ifield - an int <br> skip - a boolean <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=setSkipField&unscoped_q=setSkipField">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/util/AsciiParser.DelimParser.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/util/AsciiParser.DelimParser.html#setSkipField">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/util/AsciiParser.DelimParser.java#l1912">[view source]</a> <br> <br> <hr> <a name="splitRecord"></a> <h2>splitRecord</h2> splitRecord( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> input, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String[]</a> fields ) → boolean <p></p> <h3>Parameters</h3> input - a String <br> fields - a java.lang.String[] <h3>Returns:</h3> boolean <br><br> <a href="https://github.com/autoplot/dev/search?q=splitRecord&unscoped_q=splitRecord">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/util/AsciiParser.DelimParser.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/util/AsciiParser.DelimParser.html#splitRecord">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/util/AsciiParser.DelimParser.java#l1939">[view source]</a> <br> <br> <hr> <a name="toString"></a> <h2>toString</h2> toString( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> <p></p> <h3>Returns:</h3> java.lang.String <br><br> <a href="https://github.com/autoplot/dev/search?q=toString&unscoped_q=toString">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/util/AsciiParser.DelimParser.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/util/AsciiParser.DelimParser.html#toString">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/util/AsciiParser.DelimParser.java#l2023">[view source]</a> <br> <br> <hr> <a name="tryParseRecord"></a> <h2>tryParseRecord</h2> tryParseRecord( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> line, int irec, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/util/DataSetBuilder.html'>org.das2.qds.util.DataSetBuilder</a> builder ) → boolean <p></p> <h3>Parameters</h3> line - a String <br> irec - an int <br> builder - a DataSetBuilder <h3>Returns:</h3> boolean <br><br> <a href="https://github.com/autoplot/dev/search?q=tryParseRecord&unscoped_q=tryParseRecord">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/util/AsciiParser.DelimParser.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/util/AsciiParser.DelimParser.html#tryParseRecord">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/util/AsciiParser.DelimParser.java#l1814">[view source]</a> <br> <br>