Package whistlesAndMoans
Class WhistleBinaryModuleHeader
java.lang.Object
binaryFileStorage.ModuleHeader
whistlesAndMoans.WhistleBinaryModuleHeader
- All Implemented Interfaces:
Serializable
,ManagedParameters
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
createHeader
(BinaryObjectData binaryObjectData, BinaryHeader binaryHeader) Read data from a byte array to recreate a module header being read back from file.Get a set of data that describes all of the parameters in a classMethods inherited from class binaryFileStorage.ModuleHeader
getModuleVersion
-
Field Details
-
delayScale
public int delayScale
-
-
Constructor Details
-
WhistleBinaryModuleHeader
public WhistleBinaryModuleHeader(int moduleVersion)
-
-
Method Details
-
createHeader
Description copied from class:ModuleHeader
Read data from a byte array to recreate a module header being read back from file.The BinaryHeader and ModuleHeader can be used to check version numbers if required.
- Specified by:
createHeader
in classModuleHeader
- Parameters:
binaryObjectData
- data read from filebinaryHeader
- binary Header from data file- Returns:
- true if unpacked successfully.
-
getParameterSet
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Returns:
- description of the parameters in a class.
-