Class DatLoadFileWriter
- java.lang.Object
-
- com.nuix.superutilities.loadfiles.SimpleTextFileWriter
-
- com.nuix.superutilities.loadfiles.DatLoadFileWriter
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class DatLoadFileWriter extends SimpleTextFileWriter
-
-
Field Summary
-
Fields inherited from class com.nuix.superutilities.loadfiles.SimpleTextFileWriter
destinationFile, fw
-
-
Constructor Summary
Constructors Constructor Description DatLoadFileWriter(java.io.File destinationFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeDatLine(java.lang.String[] values)
void
writeRecordKeys(java.util.LinkedHashMap<java.lang.String,java.lang.String> record)
void
writeRecordValues(java.util.LinkedHashMap<java.lang.String,java.lang.String> record)
void
writeValues(java.util.List<java.lang.String> headers)
-
Methods inherited from class com.nuix.superutilities.loadfiles.SimpleTextFileWriter
close, getDestinationFile, writeLine
-
-
-
-
Method Detail
-
writeDatLine
public void writeDatLine(java.lang.String[] values) throws java.io.IOException
- Throws:
java.io.IOException
-
writeRecordValues
public void writeRecordValues(java.util.LinkedHashMap<java.lang.String,java.lang.String> record) throws java.io.IOException
- Throws:
java.io.IOException
-
writeRecordKeys
public void writeRecordKeys(java.util.LinkedHashMap<java.lang.String,java.lang.String> record) throws java.io.IOException
- Throws:
java.io.IOException
-
writeValues
public void writeValues(java.util.List<java.lang.String> headers) throws java.io.IOException
- Throws:
java.io.IOException
-
-