public class TextPiece extends PropertyNode implements Comparable
| Modifier and Type | Field and Description |
|---|---|
static String |
ASCII_ENC |
static String |
UNICODE_ENC |
_buf| Constructor and Description |
|---|
TextPiece(int start,
int end,
PieceDescriptor pd) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFcEnd() |
int |
getFcStart() |
PieceDescriptor |
getPieceDescriptor() |
String |
getText(byte[] txtSource) |
boolean |
unicode() |
boolean |
usesUnicode() |
adjustForDelete, clone, compareTo, equals, getEnd, getStart, limitsAreEqual, setEnd, setStartfinalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompareTopublic TextPiece(int start,
int end,
PieceDescriptor pd)
throws UnsupportedEncodingException
start - Offset in main document stream.UnsupportedEncodingExceptionpublic boolean usesUnicode()
public PieceDescriptor getPieceDescriptor()
public boolean unicode()
public int getFcStart()
public int getFcEnd()
public String getText(byte[] txtSource)
Copyright © 2021. All rights reserved.