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:
Comparable<TextPiece>,org.apache.poi.common.Duplicatable
-
Field Summary
Fields inherited from class org.apache.poi.hwpf.model.PropertyNode
EndComparator, StartComparator -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.poi.hwpf.model.TextPiece
adjustForDelete, equals, getPieceDescriptor, getRawBytes, getStringBuffer, getStringBuilder, hashCode, isUnicode, substringMethods inherited from class org.apache.poi.hwpf.model.PropertyNode
compareTo, setEnd, setStart
-
Constructor Details
-
SinglentonTextPiece
-
SinglentonTextPiece
-
-
Method Details
-
bytesLength
public int bytesLength()Description copied from class:TextPieceReturns the length, in bytes- Overrides:
bytesLengthin classTextPiece
-
characterLength
public int characterLength()Description copied from class:TextPieceReturns the length, in characters- Overrides:
characterLengthin classTextPiece
-
getCP
public int getCP()Description copied from class:TextPieceReturns the character position we start at. -
getEnd
public int getEnd()- Overrides:
getEndin classPropertyNode<TextPiece>- Returns:
- The offset of the end of this property's text.
-
getStart
public int getStart()- Overrides:
getStartin classPropertyNode<TextPiece>- Returns:
- The start offset of this property's text.
-
toString
-
copy
-