public class MLPDataFile
extends java.lang.Object
implements java.io.Closeable
Modifier and Type | Field and Description |
---|---|
int |
handleFile |
MqlArray<java.lang.String> |
header |
java.lang.String |
path |
Constructor and Description |
---|
MLPDataFile() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static boolean |
convertToCsv(int file) |
static boolean |
convertToCsv(int file,
boolean validation) |
static boolean |
convertToCsv(int file,
boolean validation,
java.lang.String delimiter) |
protected void |
finalize() |
void |
flush() |
int |
initRead(int file,
Pointer<java.lang.Integer> nin,
Pointer<java.lang.Integer> nout) |
int |
initRead0(java.lang.String file,
Pointer<java.lang.Integer> nin,
Pointer<java.lang.Integer> nout) |
int |
initReadValidation(int file,
Pointer<java.lang.Integer> nin,
Pointer<java.lang.Integer> nout) |
int |
initWrite(int file,
int nin,
int nout) |
int |
initWrite(int file,
int nin,
int nout,
java.lang.String[] _header) |
int |
initWrite0(java.lang.String file,
int nin,
int nout,
java.lang.String[] _header) |
int |
initWriteValidation(int file,
int nin,
int nout) |
int |
initWriteValidation(int file,
int nin,
int nout,
java.lang.String[] _header) |
long |
read(MqlArray<java.lang.Double> data,
Pointer<java.lang.Integer> size) |
long |
write(double[] data) |
long |
writeAll(double[][] data) |
public int handleFile
public java.lang.String path
public MqlArray<java.lang.String> header
public int initWrite0(java.lang.String file, int nin, int nout, java.lang.String[] _header)
public int initRead0(java.lang.String file, Pointer<java.lang.Integer> nin, Pointer<java.lang.Integer> nout)
public int initWrite(int file, int nin, int nout)
public int initWrite(int file, int nin, int nout, java.lang.String[] _header)
public int initWriteValidation(int file, int nin, int nout)
public int initWriteValidation(int file, int nin, int nout, java.lang.String[] _header)
public int initRead(int file, Pointer<java.lang.Integer> nin, Pointer<java.lang.Integer> nout)
public int initReadValidation(int file, Pointer<java.lang.Integer> nin, Pointer<java.lang.Integer> nout)
public long write(double[] data)
public long writeAll(double[][] data)
public void flush()
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
public static boolean convertToCsv(int file)
public static boolean convertToCsv(int file, boolean validation)
public static boolean convertToCsv(int file, boolean validation, java.lang.String delimiter)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable