| 
 | DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cete.dynamicpdf.text.Encoder
com.cete.dynamicpdf.text.SingleByteEncoder
public abstract class SingleByteEncoder
Base class from which single byte encoders are derived.
Licensing:
This class is a DynamicPDF Generator Community
 Edition feature.
| Method Summary | |
|---|---|
|  char | decode(int character)Decodes a single character. | 
|  byte | encode(char character)Encodes a single character. | 
|  byte[] | encode(FontSubsetter subsetter,
       char[] text,
       int start,
       int length,
       boolean rightToLeft)Encodes the specified text. | 
|  boolean | getIsBuiltInEncoding()Gets a value specifying if the encoding is built-in to PDF. | 
| Methods inherited from class com.cete.dynamicpdf.text.Encoder | 
|---|
| drawEncoding, getBaltic, getCentralEurope, getLatin1, getLatin2, getLatin9, getSpaceIs0x20, getTurkish, getUnicode | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public byte encode(char character)
character - Character to encode.
public char decode(int character)
character - the byte character to decode.
public byte[] encode(FontSubsetter subsetter,
                     char[] text,
                     int start,
                     int length,
                     boolean rightToLeft)
encode in class Encodersubsetter - FontSubsetter to use while encoding the text.text - char[] array to use for the encoding.start - int start index in the text arraylength - int length of text to encode.rightToLeft - boolean specifies if the text should be encoded right
 to left.
FontSubsetterpublic boolean getIsBuiltInEncoding()
| 
 | DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||