public class TabbedTextFileWithHeaderParser extends Object implements Iterable<TabbedTextFileWithHeaderParser.Row>
Modifier and Type | Class and Description |
---|---|
class |
TabbedTextFileWithHeaderParser.Row |
Constructor and Description |
---|
TabbedTextFileWithHeaderParser(File file) |
TabbedTextFileWithHeaderParser(File file,
String[] columnHeaders) |
TabbedTextFileWithHeaderParser(TabbedInputParser parser) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Release all resources associated with the parser.
|
Set<String> |
columnLabels() |
Set<String> |
getColumnNames() |
int |
getCurrentLineNumber() |
boolean |
hasColumn(String columnLabel) |
CloseableIterator<TabbedTextFileWithHeaderParser.Row> |
iterator()
Creates the iterator object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public TabbedTextFileWithHeaderParser(TabbedInputParser parser)
public TabbedTextFileWithHeaderParser(File file)
public boolean hasColumn(String columnLabel)
columnLabel
- public Set<String> columnLabels()
public CloseableIterator<TabbedTextFileWithHeaderParser.Row> iterator()
iterator
in interface Iterable<TabbedTextFileWithHeaderParser.Row>
public void close()
public int getCurrentLineNumber()