|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.encoding.conversion.CJKConverter
public class CJKConverter
CJKConverter converts encodings defined in CJKEncodings.
Constructor Summary | |
---|---|
CJKConverter(String encoding)
Constructs a CJKConverter from a PDF encoding name. |
Method Summary | |
---|---|
String |
convertBytes(byte[] c,
int offset,
int length,
CMap cmap)
Convert bytes to a string. |
String |
convertString(String s)
Convert a string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CJKConverter(String encoding)
encoding
- the encoding to be usedMethod Detail |
---|
public String convertString(String s)
convertString
in interface EncodingConverter
s
- the string to be converted
public String convertBytes(byte[] c, int offset, int length, CMap cmap)
convertBytes
in interface EncodingConverter
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 |