Package org.apache.poi.hwpf.model
Class Xst
- java.lang.Object
-
- org.apache.poi.hwpf.model.Xst
-
public class Xst extends java.lang.ObjectThe Xst structure is a string. The string is prepended by its length and is not null-terminated.Documentation quoted from Page 424 of 621. [MS-DOC] -- v20110315 Word (.doc) Binary File Format
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAsJavaString()intgetCch()An unsigned integer that specifies the number of characters that are contained in the rgtchar array.char[]getRgtchar()An array of 16-bit Unicode characters that make up a string.intgetSize()inthashCode()voidserialize(byte[] data, int startOffset)java.lang.StringtoString()
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
getAsJavaString
public java.lang.String getAsJavaString()
-
getCch
public int getCch()
An unsigned integer that specifies the number of characters that are contained in the rgtchar array.
-
getRgtchar
public char[] getRgtchar()
An array of 16-bit Unicode characters that make up a string.
-
getSize
public int getSize()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
serialize
public void serialize(byte[] data, int startOffset)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-