org.apache.poi.hwpf.model
Class SinglentonTextPiece
java.lang.Object
org.apache.poi.hwpf.model.PropertyNode
org.apache.poi.hwpf.model.TextPiece
org.apache.poi.hwpf.model.SinglentonTextPiece
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable
public class SinglentonTextPiece
- extends TextPiece
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
SinglentonTextPiece
public SinglentonTextPiece(java.lang.StringBuffer buffer)
throws java.io.IOException
- Throws:
java.io.IOException
bytesLength
public int bytesLength()
- Description copied from class:
TextPiece
- Returns the length, in bytes
- Overrides:
bytesLength
in class TextPiece
characterLength
public int characterLength()
- Description copied from class:
TextPiece
- Returns the length, in characters
- Overrides:
characterLength
in class TextPiece
getCP
public int getCP()
- Description copied from class:
TextPiece
- Returns the character position we start at.
- Overrides:
getCP
in class TextPiece
getEnd
public int getEnd()
- Overrides:
getEnd
in class PropertyNode
- Returns:
- The offset of the end of this property's text.
getStart
public int getStart()
- Overrides:
getStart
in class PropertyNode
- Returns:
- The start offset of this property's text.
toString
public java.lang.String toString()
- Overrides:
toString
in class TextPiece