Package org.apache.poi.hwpf.model
Class Xst
- java.lang.Object
-
- org.apache.poi.hwpf.model.Xst
-
public class Xst extends java.lang.Object
The 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 boolean
equals(java.lang.Object obj)
java.lang.String
getAsJavaString()
int
getCch()
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.int
getSize()
int
hashCode()
void
serialize(byte[] data, int startOffset)
java.lang.String
toString()
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in 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:
hashCode
in classjava.lang.Object
-
serialize
public void serialize(byte[] data, int startOffset)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-