Class Xst

java.lang.Object
org.apache.poi.hwpf.model.Xst

public class Xst extends 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

Author:
Sergey Vladimirov (vlsergey {at} gmail {dot} com)
  • Constructor Details

    • Xst

      public Xst()
    • Xst

      public Xst(byte[] data, int startOffset)
    • Xst

      public Xst(String str)
  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getAsJavaString

      public 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 class Object
    • serialize

      public void serialize(byte[] data, int startOffset)
    • toString

      public String toString()
      Overrides:
      toString in class Object