public class CsvFileItemInput<I extends Item> extends CsvItemInput<I> implements com.github.akurilov.commons.io.file.FileInput<I>
| Modifier and Type | Field and Description |
|---|---|
protected java.nio.file.Path |
itemsFilePath |
itemFactory, itemsSrc| Constructor and Description |
|---|
CsvFileItemInput(java.nio.file.Path itemsFilePath,
ItemFactory<I> itemFactory) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.file.Path |
getFilePath() |
void |
reset()
Most probably will cause an IOException due to missing mark
|
java.lang.String |
toString() |
close, get, get, setItemsSrc, skippublic CsvFileItemInput(java.nio.file.Path itemsFilePath,
ItemFactory<I> itemFactory)
throws java.io.IOException,
java.lang.NoSuchMethodException
itemsFilePath - the input stream to get the data item records fromitemFactory - the concrete item factoryjava.io.IOExceptionjava.lang.NoSuchMethodExceptionpublic java.lang.String toString()
toString in class CsvItemInput<I extends Item>public final java.nio.file.Path getFilePath()
public void reset()
throws java.io.IOException
CsvItemInput