Class DatLoadFile
- java.lang.Object
-
- com.nuix.superutilities.loadfiles.DatLoadFile
-
public class DatLoadFile extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DatLoadFile()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.LinkedHashMap<java.lang.String,java.lang.String>
fromLine(java.lang.String[] headers, java.lang.String line)
static java.util.List<java.lang.String>
getHeadersFromRecord(java.util.LinkedHashMap<java.lang.String,java.lang.String> record)
static java.lang.String[]
splitLine(java.lang.String line)
static java.lang.String
toHeaderLine(java.util.LinkedHashMap<java.lang.String,java.lang.String> record)
static java.lang.String
toHeaderLine(java.util.List<java.lang.String> headers)
static java.lang.String
toLine(java.lang.String[] values)
static java.lang.String
toLine(java.util.LinkedHashMap<java.lang.String,java.lang.String> record)
static void
transpose(java.io.File sourceFile, java.io.File destinationFile, java.util.function.Consumer<java.util.LinkedHashMap<java.lang.String,java.lang.String>> recordModifier)
-
-
-
Method Detail
-
splitLine
public static java.lang.String[] splitLine(java.lang.String line)
-
fromLine
public static java.util.LinkedHashMap<java.lang.String,java.lang.String> fromLine(java.lang.String[] headers, java.lang.String line)
-
toLine
public static java.lang.String toLine(java.util.LinkedHashMap<java.lang.String,java.lang.String> record)
-
toLine
public static java.lang.String toLine(java.lang.String[] values)
-
toHeaderLine
public static java.lang.String toHeaderLine(java.util.LinkedHashMap<java.lang.String,java.lang.String> record)
-
toHeaderLine
public static java.lang.String toHeaderLine(java.util.List<java.lang.String> headers)
-
getHeadersFromRecord
public static java.util.List<java.lang.String> getHeadersFromRecord(java.util.LinkedHashMap<java.lang.String,java.lang.String> record)
-
transpose
public static void transpose(java.io.File sourceFile, java.io.File destinationFile, java.util.function.Consumer<java.util.LinkedHashMap<java.lang.String,java.lang.String>> recordModifier) throws java.io.IOException
- Throws:
java.io.IOException
-
-