- java.lang.Object
-
- com.github.akurilov.commons.io.TextStreamOutput
-
- com.github.akurilov.commons.io.file.TextFileOutput
-
- All Implemented Interfaces:
FileOutput<java.lang.String>,Output<java.lang.String>,java.io.Closeable,java.lang.AutoCloseable
public class TextFileOutput extends TextStreamOutput implements FileOutput<java.lang.String>
Text file based lines output
-
-
Field Summary
-
Fields inherited from class com.github.akurilov.commons.io.TextStreamOutput
writer
-
Fields inherited from interface com.github.akurilov.commons.io.file.FileOutput
OUTPUT_OPEN_OPTIONS
-
-
Constructor Summary
Constructors Constructor Description TextFileOutput()TextFileOutput(java.nio.file.Path filePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.file.PathgetFilePath()Input<java.lang.String>getInput()Make aInputinstance from this.-
Methods inherited from class com.github.akurilov.commons.io.TextStreamOutput
close, put, put, put
-
-
-
-
Method Detail
-
getInput
public Input<java.lang.String> getInput() throws java.io.IOException
Description copied from interface:OutputMake aInputinstance from this.
-
getFilePath
public java.nio.file.Path getFilePath()
- Specified by:
getFilePathin interfaceFileOutput<java.lang.String>
-
-