@Internal public class OldTextPiece extends TextPiece
PropertyNode.EndComparator, PropertyNode.StartComparator| Constructor and Description |
|---|
OldTextPiece(int start,
int end,
byte[] text,
PieceDescriptor pd) |
| Modifier and Type | Method and Description |
|---|---|
void |
adjustForDelete(int start,
int length)
Deprecated.
|
int |
bytesLength()
Returns the length, in bytes
|
boolean |
equals(Object other) |
byte[] |
getRawBytes() |
StringBuilder |
getStringBuilder() |
int |
hashCode() |
boolean |
isUnicode() |
String |
substring(int start,
int end)
Deprecated.
|
String |
toString() |
characterLength, getCP, getPieceDescriptor, getStringBufferpublic OldTextPiece(int start,
int end,
byte[] text,
PieceDescriptor pd)
start - Beginning offset in main document stream, in characters.end - Ending offset in main document stream, in characters.text - The raw bytes of our text@NotImplemented public boolean isUnicode()
isUnicode in class TextPieceUnsupportedOperationExceptionpublic StringBuilder getStringBuilder()
getStringBuilder in class TextPiecepublic byte[] getRawBytes()
getRawBytes in class TextPiece@Deprecated @NotImplemented public String substring(int start, int end)
substring in class TextPiecestart - Local start position, in charactersend - Local end position, in charactersUnsupportedOperationException@Deprecated @NotImplemented public void adjustForDelete(int start, int length)
adjustForDelete in class TextPiecestart - The start position for the delete, in characterslength - The number of characters to deletepublic int bytesLength()
bytesLength in class TextPieceCopyright © 2010 - 2020 Adobe. All Rights Reserved