Package org.apache.poi.hwpf.model
Class Sttb
- java.lang.Object
-
- org.apache.poi.hwpf.model.Sttb
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfillFields(byte[] buffer, int startOffset)String[]getData()The definition of each STTB specifies the meaning of this field.intgetSize()byte[]serialize()intserialize(byte[] buffer, int offset)
-
-
-
Constructor Detail
-
Sttb
public Sttb(byte[] buffer, int startOffset)
-
Sttb
public Sttb(int cDataLength, byte[] buffer, int startOffset)
-
Sttb
public Sttb(int cDataLength, String[] data)
-
-
Method Detail
-
fillFields
public void fillFields(byte[] buffer, int startOffset)
-
getData
public String[] getData()
The definition of each STTB specifies the meaning of this field. If this STTB uses extended characters, the size of this field is 2*cchData bytes and it is a Unicode string unless otherwise specified by the STTB definition. If this STTB does not use extended characters, then the size of this field is cchData bytes and it is an ANSI string, unless otherwise specified by the STTB definition.
-
getSize
public int getSize()
-
serialize
public byte[] serialize()
-
serialize
public int serialize(byte[] buffer, int offset)
-
-