PDF Clown
0.1.2

org.pdfclown.tokens
Class PdfEncoding

java.lang.Object
  extended by org.pdfclown.tokens.Encoding
      extended by org.pdfclown.tokens.PdfEncoding

public final class PdfEncoding
extends Encoding

PDF serialization encoding [PDF:1.6:3.1].

PDF can be entirely represented using byte values corresponding to the visible printable subset of the ASCII character set, plus white space characters such as space, tab, carriage return, and line feed characters. However, a PDF file is not restricted to the ASCII character set; it can contain arbitrary 8-bit bytes.

Since:
0.1.2
Version:
0.1.2, 02/20/12
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Field Summary
 
Fields inherited from class org.pdfclown.tokens.Encoding
Pdf
 
Method Summary
 String decode(byte[] value)
           
 String decode(byte[] value, int index, int length)
           
 byte[] encode(String value)
           
 
Methods inherited from class org.pdfclown.tokens.Encoding
encode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

decode

public String decode(byte[] value)
Specified by:
decode in class Encoding

decode

public String decode(byte[] value,
                     int index,
                     int length)
Specified by:
decode in class Encoding

encode

public byte[] encode(String value)
Specified by:
encode in class Encoding

PDF Clown
0.1.2

Project home page

Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.