Class SimpleTextFileWriter
- java.lang.Object
-
- com.nuix.superutilities.loadfiles.SimpleTextFileWriter
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
- Direct Known Subclasses:
DatLoadFileWriter
public class SimpleTextFileWriter extends java.lang.Object implements java.io.Closeable
-
-
Field Summary
Fields Modifier and Type Field Description protected java.io.FiledestinationFileprotected java.io.FileWriterfw
-
Constructor Summary
Constructors Constructor Description SimpleTextFileWriter(java.io.File destinationFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()java.io.FilegetDestinationFile()voidwriteLine(java.lang.String line)
-
-
-
Method Detail
-
writeLine
public void writeLine(java.lang.String line) throws java.io.IOException- Throws:
java.io.IOException
-
getDestinationFile
public java.io.File getDestinationFile()
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-