Module de.bernd_michaely.x3f.types
Package de.bernd_michaely.x3f.types
Class X3fPropertyList.X3fPropertyListHeader
- java.lang.Object
-
- de.bernd_michaely.x3f.types.X3fPropertyList.X3fPropertyListHeader
-
- Enclosing class:
- X3fPropertyList
protected static class X3fPropertyList.X3fPropertyListHeader extends Object
Class for representing a property list header contained in X3F data.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
X3fPropertyListHeader(RandomAccessData data)
Constructor to parse and collect information contained in a X3F property list header.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected UInt32
getCharacterFormat()
Character format for all entries in this table.protected VersionNumber
getFormatVersion()
Property list format version.protected int
getNumberEntries()
Number of property entries.protected UInt32
getReserved()
Reserved value.protected int
getTotalLengthData()
Total length of data in characters.protected boolean
isPropertyListSupported()
-
-
-
Constructor Detail
-
X3fPropertyListHeader
protected X3fPropertyListHeader(RandomAccessData data) throws RandomAccessDataException
Constructor to parse and collect information contained in a X3F property list header.- Parameters:
data
- the X3F data to parse- Throws:
RandomAccessDataException
- if RandomAccessData source is invalid
-
-
Method Detail
-
isPropertyListSupported
protected boolean isPropertyListSupported()
-
getFormatVersion
protected VersionNumber getFormatVersion()
Property list format version.- Returns:
- property list format version
-
getNumberEntries
protected int getNumberEntries()
Number of property entries.- Returns:
- number of property entries
-
getCharacterFormat
protected UInt32 getCharacterFormat()
Character format for all entries in this table. 0 = CHAR16 Unicode.- Returns:
- a value indicating the character format
-
getReserved
protected UInt32 getReserved()
Reserved value.- Returns:
- reserved value
-
getTotalLengthData
protected int getTotalLengthData()
Total length of data in characters.- Returns:
- total length of data in characters
-
-