|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EncodingConverter
EncodingConverter converts string or characters in one encoding, which is specified in PDF file, to another string with respective java charset. The mapping from PDF encoding name to java charset name is maintained by EncodingConversionManager
Method Summary | |
---|---|
String |
convertBytes(byte[] c,
int offset,
int length,
CMap cmap)
Convert bytes to a string. |
String |
convertString(String s)
Convert a string. |
Method Detail |
---|
String convertString(String s)
s
- the string to be converted
String convertBytes(byte[] c, int offset, int length, CMap cmap)
c
- the byte array to be convertedoffset
- the starting offset of the arraylength
- the number of bytescmap
- the cmap to be used for conversion
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |