public class BinaryFormat extends Fwk implements BinaryFormatInterface
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected FwkPropertyGroupInterface |
propertyGroup |
static java.lang.String |
version |
Constructor and Description |
---|
BinaryFormat(FwkPropertyGroupInterface props)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getBlockCount()
The number of blocks in file.
|
int |
getBlocking()
Blocking, 1=channel multiplexed, e.g. 512=blockmultiplexed.
|
java.lang.String |
getByteOrder()
Order of low and high byte in data file
LSB First : low-Byte, high-Byte
MSB First : high-Byte, low-Byte |
int |
getByteSwapIsNeeded()
Return a value specifing whether a byle swap is needed.
|
java.lang.String |
getCreatedOnPlatform()
Creation platform of file (PC, VMS, UNIX)
|
int |
getDataSignalCount()
Number of signals in the data file,
if differs from the SignalCount.
|
int |
getHeaderFrameSize()
Size of each frame header, at the beginning of each data block in bytes.
|
int |
getHeaderGlobalSize()
Size of the global header at the beginning of the file in bytes.
|
int |
getHeaderSignalSize()
Size of each channel header in bytes.
|
int |
getSignalCount()
The number of signals in file.
|
java.lang.String |
getSignalType()
Type of signal
Digital or digital for digital signals
Analog: for analoge signals |
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
java.lang.String |
getWordOrder()
Order of low and high word in data file.
|
static void |
main(java.lang.String[] args)
Main module of this application.
|
java.lang.String |
toString()
Print out the string presentation of the class.
|
getNiceVersion, release
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
release
public static final java.lang.String version
protected FwkPropertyGroupInterface propertyGroup
public BinaryFormat(FwkPropertyGroupInterface props)
props
- the property group containing the settings.public java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
getVersion
in class Fwk
public java.lang.String getCreatedOnPlatform()
getCreatedOnPlatform
in interface BinaryFormatInterface
public int getByteSwapIsNeeded()
0 = byte swap as on this platform
1 = no byte swap
2 = byte swap
REMARK : this setting is only for compatibility reasons supported. It should be replaced by the settings „ByteOrder“ and „WordOrder“.
getByteSwapIsNeeded
in interface BinaryFormatInterface
public java.lang.String getByteOrder()
LSB First : low-Byte, high-Byte
MSB First : high-Byte, low-Byte
getByteOrder
in interface BinaryFormatInterface
public java.lang.String getWordOrder()
LSW First : low-Word, high-Word
MSW First : high-Word, low-Word
getWordOrder
in interface BinaryFormatInterface
public int getHeaderGlobalSize()
getHeaderGlobalSize
in interface BinaryFormatInterface
public int getHeaderSignalSize()
getHeaderSignalSize
in interface BinaryFormatInterface
public int getHeaderFrameSize()
getHeaderFrameSize
in interface BinaryFormatInterface
public int getBlocking()
getBlocking
in interface BinaryFormatInterface
public int getBlockCount()
getBlockCount
in interface BinaryFormatInterface
public int getSignalCount()
getSignalCount
in interface BinaryFormatInterface
public int getDataSignalCount()
getDataSignalCount
in interface BinaryFormatInterface
public java.lang.String getSignalType()
Digital or digital for digital signals
Analog: for analoge signals
getSignalType
in interface BinaryFormatInterface
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)