public class Section1 extends Section
A class to encapsulate the SCP-ECG Patient and ECG Acquisition Data section.
bytesRead, header, sectionBytesRemaining, tree| Constructor and Description |
|---|
Section1(SectionHeader header) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getConcatenatedStringValuesOfAllOccurencesOfNamedField(java.lang.String fieldName)
Get the value of multiple instances of the same field (tag) as a single string.
|
java.lang.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.
|
java.lang.String |
toString()
Dump the section as a
String. |
java.lang.String |
validate()
Validate the section against the standard.
|
addNodeOfDecimalAndHex, addNodeOfDecimalWithMissingValues, addSectionHeaderToTree, describeMissingValues, getSectionHeader, getTree, getValueForSectionNodeInTree, makeSection, makeStringFromByteArrayRemovingAnyNulls, skipToEndOfSectionIfNotAlreadyTherepublic Section1(SectionHeader header)
public java.lang.String getSectionName()
Get a string name for this section.
getSectionName in class Sectionpublic long read(BinaryInputStream i) throws java.io.IOException
SectionRead the remainder of the section from a stream.
public java.lang.String toString()
SectionDump the section as a String.
public java.lang.String validate()
SectionValidate the section against the standard.
public java.lang.String getConcatenatedStringValuesOfAllOccurencesOfNamedField(java.lang.String fieldName)
Get the value of multiple instances of the same field (tag) as a single string.
fieldName - the name of the fieldpublic SCPTreeRecord getTree(SCPTreeRecord parent)
Get the contents of the section as a tree for display, constructing it if not already done.