com.devexperts.qd.qtp.file
Class FileFormat
java.lang.Object
com.devexperts.qd.qtp.file.FileFormat
public class FileFormat
- extends java.lang.Object
QDS file format specification.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BINARY
public static final FileFormat BINARY
TEXT
public static final FileFormat TEXT
CSV
public static final FileFormat CSV
valueOf
public static FileFormat valueOf(java.lang.String desc)
- Construct
FileFormat
by a given string description.
The format description is "binary", "text", or "blob:<record>:<symbol>".
- Throws:
InvalidFormatException
- when desc has invalid format.
detectFormat
public static FileFormat detectFormat(byte[] buffer)
getType
public FileFormat.Type getType()
createByteArrayParser
public AbstractByteArrayParser createByteArrayParser(DataScheme scheme)
createByteArrayComposer
public AbstractByteArrayComposer createByteArrayComposer(DataScheme scheme)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object