Methods Summary |
---|
public java.lang.Object | clone()
DeltaRecord rec = new DeltaRecord();
rec.field_1_max_change = field_1_max_change;
return rec;
|
protected void | fillFields(org.apache.poi.hssf.record.RecordInputStream in)
field_1_max_change = in.readDouble();
|
public double | getMaxChange()get the maximum change
return field_1_max_change;
|
public int | getRecordSize()
return 12;
|
public short | getSid()
return sid;
|
public int | serialize(int offset, byte[] data)
LittleEndian.putShort(data, 0 + offset, sid);
LittleEndian.putShort(data, 2 + offset, ( short ) 0x8);
LittleEndian.putDouble(data, 4 + offset, getMaxChange());
return getRecordSize();
|
public void | setMaxChange(double maxChange)set the maximum change
field_1_max_change = maxChange;
|
public java.lang.String | toString()
StringBuffer buffer = new StringBuffer();
buffer.append("[DELTA]\n");
buffer.append(" .maxchange = ").append(getMaxChange())
.append("\n");
buffer.append("[/DELTA]\n");
return buffer.toString();
|
protected void | validateSid(short id)
if (id != sid)
{
throw new RecordFormatException("NOT A DELTA RECORD");
}
|