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.File
destinationFile
protected java.io.FileWriter
fw
-
Constructor Summary
Constructors Constructor Description SimpleTextFileWriter(java.io.File destinationFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.io.File
getDestinationFile()
void
writeLine(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:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
-