|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.knowcenter.wag.egov.egiz.pdf.StringInfo
public class StringInfo
Specifies a certain data area within the pdf.
Actually this is a byte range, which is used to hold the placeholder ranges for later replacement.
Field Summary | |
---|---|
protected byte[] |
pdf
The PDF document this range belongs to. |
int |
string_length
The length of the range. |
int |
string_start
The start offset of the range. |
Constructor Summary | |
---|---|
StringInfo()
|
Method Summary | |
---|---|
byte[] |
copyStringBytes()
Copies the bytes of this range to a new byte array. |
String |
getString(String encoding)
Converts the range into a String. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected byte[] pdf
public int string_start
public int string_length
Constructor Detail |
---|
public StringInfo()
Method Detail |
---|
public byte[] copyStringBytes()
public String getString(String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
- Forwarded exception.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |