Gnostice PDFOne
Pro. Ed. v5.0.0


com.gnostice.pdfone.filters
Class PdfFlateFilter

java.lang.Object
  extended bycom.gnostice.pdfone.filters.PdfFlateFilter

public final class PdfFlateFilter
extends Object


Field Summary
static int BEST_COMPRESSION
           
static int BEST_SPEED
           
static int DEFAULT_COMPRESSION
           
static int DEFAULT_STRATEGY
           
static int DEFLATED
           
static int FILTERED
           
static int HUFFMAN_ONLY
           
 
Method Summary
static ByteBuffer decode(ByteBuffer bb)
           
static void decompress(PdfStream pdfStream)
           
static ByteBuffer dePredict(ByteBuffer bb, PdfDict dp)
           
static ByteBuffer encode(ByteBuffer bb, int level)
           
static void encode(PdfStream s, int level)
           
static ByteBuffer encode(String s, int level)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFLATED

public static final int DEFLATED
See Also:
Constant Field Values

BEST_SPEED

public static final int BEST_SPEED
See Also:
Constant Field Values

BEST_COMPRESSION

public static final int BEST_COMPRESSION
See Also:
Constant Field Values

DEFAULT_COMPRESSION

public static final int DEFAULT_COMPRESSION
See Also:
Constant Field Values

FILTERED

public static final int FILTERED
See Also:
Constant Field Values

HUFFMAN_ONLY

public static final int HUFFMAN_ONLY
See Also:
Constant Field Values

DEFAULT_STRATEGY

public static final int DEFAULT_STRATEGY
See Also:
Constant Field Values
Method Detail

encode

public static void encode(PdfStream s,
                          int level)
                   throws PdfException
Throws:
PdfException

encode

public static ByteBuffer encode(ByteBuffer bb,
                                int level)

encode

public static ByteBuffer encode(String s,
                                int level)

decompress

public static void decompress(PdfStream pdfStream)
                       throws PdfException,
                              IOException
Throws:
PdfException
IOException

decode

public static ByteBuffer decode(ByteBuffer bb)
                         throws PdfBadFileException
Throws:
PdfBadFileException

dePredict

public static ByteBuffer dePredict(ByteBuffer bb,
                                   PdfDict dp)
                            throws PdfException
Throws:
PdfException

Gnostice PDFOne
Pro. Ed. v5.0.0

To contact our support team, send an e-mail to support@gnostice.com.
 
© 2010 Gnostice Information Technologies Private Limited. All rights reserved.
www.gnostice.com