Package jmri.jmrix.loconet.spjfile
Class SpjFile.FirstHeader
- java.lang.Object
-
- jmri.jmrix.loconet.spjfile.SpjFile.Header
-
- jmri.jmrix.loconet.spjfile.SpjFile.FirstHeader
-
- Enclosing class:
- SpjFile
class SpjFile.FirstHeader extends SpjFile.Header
Class representing first header
-
-
Field Summary
-
Fields inherited from class jmri.jmrix.loconet.spjfile.SpjFile.Header
bytes, dataLength, dataStart, filename, handle, HEADERSIZE, recordLength, recordStart, sdfBuffer, spare1, spare2, spare3, spare4, spare5, spare6, spare7, time, type
-
-
Constructor Summary
Constructors Constructor Description FirstHeader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.lang.String
getComment()
(package private) int
numHeaders()
java.lang.String
toString()
(package private) float
version()
-
Methods inherited from class jmri.jmrix.loconet.spjfile.SpjFile.Header
getByteArray, getDataLength, getDataStart, getHandle, getName, getRecordLength, getRecordStart, getSdfBuffer, getType, isMap, isSDF, isTxt, isWAV, load, setContent, setDataStart, setName, setRecordLength, setRecordStart, store, store, typeAsString, updateStart
-
-
-
-
Constructor Detail
-
FirstHeader
FirstHeader()
-
-
Method Detail
-
numHeaders
int numHeaders()
- Returns:
- number of headers, including the initial system header.
-
version
float version()
-
getComment
java.lang.String getComment()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classSpjFile.Header
-
-