public class TSVFile
extends java.lang.Object
implements java.lang.Iterable<java.util.List<java.lang.String>>, java.util.Iterator<java.util.List<java.lang.String>>, java.io.Closeable
for(List<String> line : new TSVFile("blah.tsv")) {
System.out.println(line);
}
| Modifier and Type | Field and Description |
|---|---|
protected FileLines |
in
Holds the reader
|
| Constructor and Description |
|---|
TSVFile(java.io.File f) |
TSVFile(java.io.File f,
java.lang.String msg) |
TSVFile(java.io.File f,
java.lang.String encoding,
java.lang.String msg) |
TSVFile(java.io.Reader f) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
java.util.Iterator<java.util.List<java.lang.String>> |
iterator() |
static void |
main(java.lang.String[] args) |
java.util.List<java.lang.String> |
next() |
void |
remove() |
protected FileLines in
public TSVFile(java.io.File f)
throws java.io.IOException
java.io.IOExceptionpublic TSVFile(java.io.Reader f)
throws java.io.IOException
java.io.IOExceptionpublic TSVFile(java.io.File f,
java.lang.String msg)
throws java.io.IOException
java.io.IOExceptionpublic TSVFile(java.io.File f,
java.lang.String encoding,
java.lang.String msg)
throws java.io.IOException
java.io.IOExceptionpublic java.util.Iterator<java.util.List<java.lang.String>> iterator()
iterator in interface java.lang.Iterable<java.util.List<java.lang.String>>public java.util.List<java.lang.String> next()
next in interface java.util.Iterator<java.util.List<java.lang.String>>public boolean hasNext()
hasNext in interface java.util.Iterator<java.util.List<java.lang.String>>public static void main(java.lang.String[] args)
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic void remove()
remove in interface java.util.Iterator<java.util.List<java.lang.String>>