public class ContinueRecord extends Record
Description: handles overflow for prior record in the input stream; content is tailored to that prior record
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
ContinueRecord()
default constructor
|
ContinueRecord(RecordInputStream in)
Main constructor -- kinda dummy because we don't validate or fill fields
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone this record.
|
protected void |
fillFields(RecordInputStream in)
Fill the fields.
|
byte[] |
getData()
get the data for continuation
|
short |
getSid()
return the non static version of the id for this record.
|
byte[] |
serialize()
USE ONLY within "processContinue"
|
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker.
|
void |
setData(byte[] data) |
java.lang.String |
toString()
Debugging toString
|
protected void |
validateSid(short id)
Make sure we have a good id
|
getRecordSize, isInValueSection, isValue
public static final short sid
public ContinueRecord()
public ContinueRecord(RecordInputStream in)
in
- the RecordInputstream to read the record frompublic byte[] serialize()
public int serialize(int offset, byte[] data)
Record
public void setData(byte[] data)
public byte[] getData()
protected void validateSid(short id)
validateSid
in class Record
id
- the alleged idpublic java.lang.String toString()
public short getSid()
Record
protected void fillFields(RecordInputStream in)
fillFields
in class Record
in
- the RecordInputstream to read the record fromCopyright © 2014 Open Microscopy Environment