public abstract class AbstractCSVList extends java.util.AbstractList<java.util.List<java.lang.String>> implements CSVList
| Modifier and Type | Field and Description |
|---|---|
protected RandomAccessFileIndex |
index |
protected RandomAccessFileReader |
reader |
protected int |
skipLines |
| Constructor and Description |
|---|
AbstractCSVList(java.io.File text,
java.io.File index,
java.nio.charset.Charset charset) |
AbstractCSVList(RandomAccessFileReader reader,
RandomAccessFileIndex index) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
close() |
java.util.List<java.lang.String> |
get(int index) |
java.util.List<java.lang.String> |
get64(long index) |
protected abstract java.util.List<java.lang.String> |
nextRecord() |
int |
size() |
long |
size64() |
add, add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitprotected final RandomAccessFileReader reader
protected final RandomAccessFileIndex index
protected int skipLines
public AbstractCSVList(java.io.File text,
java.io.File index,
java.nio.charset.Charset charset)
throws java.io.IOException
java.io.IOExceptionpublic AbstractCSVList(RandomAccessFileReader reader, RandomAccessFileIndex index) throws java.io.IOException
java.io.IOExceptionpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic java.util.List<java.lang.String> get(int index)
public int size()
public void clear()
clear in interface java.util.Collection<java.util.List<java.lang.String>>clear in interface java.util.List<java.util.List<java.lang.String>>clear in class java.util.AbstractList<java.util.List<java.lang.String>>public java.util.List<java.lang.String> get64(long index)
protected abstract java.util.List<java.lang.String> nextRecord()
throws java.io.IOException
java.io.IOException