public final class StringRecord extends ContinuableRecord
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
StringRecord() |
StringRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
short |
getSid()
return the non static version of the id for this record.
|
java.lang.String |
getString() |
protected void |
serialize(ContinuableRecordOutput out)
Serializes this record's content to the supplied data output.
|
void |
setString(java.lang.String string)
Sets the string represented by this record.
|
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serialize
cloneViaReserialise, serialize
public static final short sid
public StringRecord()
public StringRecord(RecordInputStream in)
in
- the RecordInputstream to read the record fromprotected void serialize(ContinuableRecordOutput out)
ContinuableRecord
LittleEndianOutput
methods. Methods from ContinuableRecordOutput
can be used to serialize strings (with ContinueRecord
s being written as required).
If necessary, implementors can explicitly start ContinueRecord
s (regardless of the
amount of remaining space).serialize
in class ContinuableRecord
out
- a data output streampublic short getSid()
Record
public java.lang.String getString()
public void setString(java.lang.String string)
public java.lang.String toString()
Record
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.