Package com.emc.mongoose.base.item.io
Class CsvFileItemOutput<I extends Item>
- java.lang.Object
-
- com.emc.mongoose.base.item.io.CsvItemOutput<I>
-
- com.emc.mongoose.base.item.io.CsvFileItemOutput<I>
-
- All Implemented Interfaces:
com.github.akurilov.commons.io.file.FileIo,com.github.akurilov.commons.io.file.FileOutput<I>,com.github.akurilov.commons.io.Output<I>,java.lang.AutoCloseable,java.util.function.Consumer<I>
public class CsvFileItemOutput<I extends Item> extends CsvItemOutput<I> implements com.github.akurilov.commons.io.file.FileOutput<I>
Created by kurila on 30.06.15.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.nio.file.PathitemsFilePath-
Fields inherited from class com.emc.mongoose.base.item.io.CsvItemOutput
itemFactory, itemsDst
-
-
Constructor Summary
Constructors Constructor Description CsvFileItemOutput(ItemFactory<I> itemFactory)CsvFileItemOutput(java.nio.file.Path itemsFilePath, ItemFactory<I> itemFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.file.PathfilePath()CsvFileItemInput<I>getInput()java.lang.StringtoString()-
Methods inherited from class com.emc.mongoose.base.item.io.CsvItemOutput
close, put, put, put
-
-
-
-
Constructor Detail
-
CsvFileItemOutput
public CsvFileItemOutput(java.nio.file.Path itemsFilePath, ItemFactory<I> itemFactory) throws java.io.IOException- Throws:
java.io.IOException
-
CsvFileItemOutput
public CsvFileItemOutput(ItemFactory<I> itemFactory) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getInput
public CsvFileItemInput<I> getInput()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classCsvItemOutput<I extends Item>
-
filePath
public final java.nio.file.Path filePath()
- Specified by:
filePathin interfacecom.github.akurilov.commons.io.file.FileIo
-
-