Package org.apache.poi.hwpf.model
Class SinglentonTextPiece
java.lang.Object
org.apache.poi.hwpf.model.PropertyNode<TextPiece>
org.apache.poi.hwpf.model.TextPiece
org.apache.poi.hwpf.model.SinglentonTextPiece
- All Implemented Interfaces:
Cloneable
,Comparable<TextPiece>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.poi.hwpf.model.PropertyNode
PropertyNode.EndComparator, PropertyNode.StartComparator
-
Field Summary
Fields inherited from class org.apache.poi.hwpf.model.PropertyNode
_buf
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.poi.hwpf.model.TextPiece
adjustForDelete, equals, getPieceDescriptor, getRawBytes, getStringBuffer, getStringBuilder, hashCode, isUnicode, substring
Methods inherited from class org.apache.poi.hwpf.model.PropertyNode
clone, compareTo, limitsAreEqual, setEnd, setStart
-
Constructor Details
-
SinglentonTextPiece
-
-
Method Details
-
bytesLength
public int bytesLength()Description copied from class:TextPiece
Returns the length, in bytes- Overrides:
bytesLength
in classTextPiece
-
characterLength
public int characterLength()Description copied from class:TextPiece
Returns the length, in characters- Overrides:
characterLength
in classTextPiece
-
getCP
public int getCP()Description copied from class:TextPiece
Returns the character position we start at. -
getEnd
public int getEnd()- Overrides:
getEnd
in classPropertyNode<TextPiece>
- Returns:
- The offset of the end of this property's text.
-
getStart
public int getStart()- Overrides:
getStart
in classPropertyNode<TextPiece>
- Returns:
- The start offset of this property's text.
-
toString
-