Package tritechgemini.fileio
Class GLFGenericHeader
java.lang.Object
tritechgemini.fileio.GLFGenericHeader
- All Implemented Interfaces:
Serializable
Generic header structure for .dat file records.
- Author:
- Doug Gillespie
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionintbyteintintintdoubleintint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintvoidWrite the header data to a data output stream.
-
Field Details
-
m_idChar
public byte m_idChar -
m_version
public int m_version -
m_length
public int m_length -
m_timestamp
public double m_timestamp -
m_dataType
public int m_dataType -
tm_deviceId
public int tm_deviceId -
m_node_ID
public int m_node_ID -
m_spare
public int m_spare
-
-
Constructor Details
-
GLFGenericHeader
public GLFGenericHeader()
-
-
Method Details
-
read
- Throws:
CatalogException
-
write
Write the header data to a data output stream.- Parameters:
dos- This should always be a LittleEndian output stream.- Throws:
IOException
-
create
- Throws:
CatalogException
-
getByteSize
public int getByteSize()
-