FileDocCategorySizeDatePackage
TextPiece.javaAPI DocApache Poi 3.0.11729Mon Jan 01 18:55:22 GMT 2007org.apache.poi.hdf.model.hdftypes

TextPiece

public class TextPiece extends PropertyNode implements Comparable
Lightweight representation of a text piece.
author
Ryan Ackley

Fields Summary
private boolean
_usesUnicode
private int
_length
Constructors Summary
public TextPiece(int start, int length, boolean unicode)

param
start Offset in main document stream.
param
length The total length of the text in bytes. Note: 1 character does not necessarily refer to 1 byte.
param
unicode true if this text is unicode.

      super(start, start + length, null);
      _usesUnicode = unicode;
      _length = length;

  
Methods Summary
public booleanusesUnicode()

return
If this text piece uses unicode

      return _usesUnicode;