Methods Summary |
---|
protected void | fillFields(org.apache.poi.hssf.record.RecordInputStream in)
field_1_dsf = in.readShort();
|
public short | getDsf()get the DSF flag
return field_1_dsf;
|
public int | getRecordSize()
return 6;
|
public short | getSid()
return sid;
|
public int | serialize(int offset, byte[] data)
LittleEndian.putShort(data, 0 + offset, sid);
LittleEndian.putShort(data, 2 + offset,
(( short ) 0x02)); // 2 bytes (6 total)
LittleEndian.putShort(data, 4 + offset, getDsf());
return getRecordSize();
|
public void | setDsf(short dsfflag)set the DSF flag
field_1_dsf = dsfflag;
|
public java.lang.String | toString()
StringBuffer buffer = new StringBuffer();
buffer.append("[DSF]\n");
buffer.append(" .isDSF = ")
.append(Integer.toHexString(getDsf())).append("\n");
buffer.append("[/DSF]\n");
return buffer.toString();
|
protected void | validateSid(short id)
if (id != sid)
{
throw new RecordFormatException("NOT A DSF RECORD");
}
|