Class OptLoadFile
- java.lang.Object
-
- com.nuix.superutilities.loadfiles.OptLoadFile
-
public class OptLoadFile extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description OptLoadFile()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRecord(OptRecord record)
static OptLoadFile
fromFile(java.io.File sourceFile)
static OptLoadFile
fromFile(java.lang.String sourceFile)
java.util.List<OptRecord>
getFirstPageRecords()
java.util.List<OptRecord>
getRecords()
java.util.Set<java.lang.String>
getVolumeNames()
void
setRecords(java.util.List<OptRecord> records)
void
toFile(java.io.File destinationFile)
static void
transpose(java.io.File sourceFile, java.io.File destinationFile, java.util.function.Consumer<OptRecord> recordModifier)
-
-
-
Method Detail
-
fromFile
public static OptLoadFile fromFile(java.lang.String sourceFile) throws java.io.IOException
- Throws:
java.io.IOException
-
fromFile
public static OptLoadFile fromFile(java.io.File sourceFile) throws java.io.IOException
- Throws:
java.io.IOException
-
toFile
public void toFile(java.io.File destinationFile) throws java.io.IOException
- Throws:
java.io.IOException
-
transpose
public static void transpose(java.io.File sourceFile, java.io.File destinationFile, java.util.function.Consumer<OptRecord> recordModifier) throws java.io.IOException
- Throws:
java.io.IOException
-
getVolumeNames
public java.util.Set<java.lang.String> getVolumeNames()
-
getFirstPageRecords
public java.util.List<OptRecord> getFirstPageRecords()
-
getRecords
public java.util.List<OptRecord> getRecords()
-
setRecords
public void setRecords(java.util.List<OptRecord> records)
-
addRecord
public void addRecord(OptRecord record)
-
-