public class BinaryFormat extends Fwk implements BinaryFormatInterface
,
Serialized Form| Modifier 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, releaseclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreleasepublic 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()
FwkInterfacegetVersion in interface FwkInterfacegetVersion in class Fwkpublic java.lang.String getCreatedOnPlatform()
getCreatedOnPlatform in interface BinaryFormatInterfacepublic 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 BinaryFormatInterfacepublic java.lang.String getByteOrder()
LSB First : low-Byte, high-Byte
MSB First : high-Byte, low-Byte
getByteOrder in interface BinaryFormatInterfacepublic java.lang.String getWordOrder()
LSW First : low-Word, high-Word
MSW First : high-Word, low-Word
getWordOrder in interface BinaryFormatInterfacepublic int getHeaderGlobalSize()
getHeaderGlobalSize in interface BinaryFormatInterfacepublic int getHeaderSignalSize()
getHeaderSignalSize in interface BinaryFormatInterfacepublic int getHeaderFrameSize()
getHeaderFrameSize in interface BinaryFormatInterfacepublic int getBlocking()
getBlocking in interface BinaryFormatInterfacepublic int getBlockCount()
getBlockCount in interface BinaryFormatInterfacepublic int getSignalCount()
getSignalCount in interface BinaryFormatInterfacepublic int getDataSignalCount()
getDataSignalCount in interface BinaryFormatInterfacepublic java.lang.String getSignalType()
Digital or digital for digital signals
Analog: for analoge signals
getSignalType in interface BinaryFormatInterfacepublic java.lang.String toString()
toString in class java.lang.Objectpublic static void main(java.lang.String[] args)