Package com.pixelmed.scpecg
Class RecordHeader
- java.lang.Object
-
- com.pixelmed.scpecg.RecordHeader
-
public class RecordHeader extends java.lang.ObjectA class to encapsulate an SCP-ECG record header.
-
-
Constructor Summary
Constructors Constructor Description RecordHeader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCRC()longgetRecordLength()longread(BinaryInputStream i)Read a header from a stream.java.lang.StringtoString()Dump the record header as aString.
-
-
-
Method Detail
-
getCRC
public int getCRC()
-
getRecordLength
public long getRecordLength()
-
read
public long read(BinaryInputStream i) throws java.io.IOException
Read a header from a stream.
- Parameters:
i- the input stream- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
Dump the record header as a
String.- Overrides:
toStringin classjava.lang.Object- Returns:
- the header as a
String
-
-