public class Section0 extends Section
A class to encapsulate the SCP-ECG Pointers to Data Areas section.
bytesRead, header, sectionBytesRemaining, tree
Constructor and Description |
---|
Section0(SectionHeader header) |
Modifier and Type | Method and Description |
---|---|
int[] |
getSectionIDNumbers() |
long[] |
getSectionIndexes() |
long[] |
getSectionLengths() |
String |
getSectionName()
Get a string name for this section.
|
SCPTreeRecord |
getTree(SCPTreeRecord parent)
Get the contents of the section as a tree for display, constructing it if not already done.
|
long |
read(BinaryInputStream i)
Read the remainder of the section from a stream.
|
String |
toString()
Dump the section as a
String . |
String |
validate()
Validate the section against the standard.
|
String |
validateAgainstOtherSections(TreeMap sections)
Validate the section against the contents of other sections.
|
addNodeOfDecimalAndHex, addNodeOfDecimalWithMissingValues, addSectionHeaderToTree, describeMissingValues, getSectionHeader, getTree, getValueForSectionNodeInTree, makeSection, makeStringFromByteArrayRemovingAnyNulls, skipToEndOfSectionIfNotAlreadyThere
public Section0(SectionHeader header)
public int[] getSectionIDNumbers()
public long[] getSectionIndexes()
public long[] getSectionLengths()
public String getSectionName()
Get a string name for this section.
getSectionName
in class Section
public SCPTreeRecord getTree(SCPTreeRecord parent)
Get the contents of the section as a tree for display, constructing it if not already done.
public long read(BinaryInputStream i) throws IOException
Section
Read the remainder of the section from a stream.
read
in class Section
i
- the input streamIOException
public String toString()
Section
Dump the section as a String
.
public String validate()
Section
Validate the section against the standard.