public final class PdfFlateFilter extends Object
Modifier and Type | Field and Description |
---|---|
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 |
Modifier and Type | Method and Description |
---|---|
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) |
public static final int DEFLATED
public static final int BEST_SPEED
public static final int BEST_COMPRESSION
public static final int DEFAULT_COMPRESSION
public static final int FILTERED
public static final int HUFFMAN_ONLY
public static final int DEFAULT_STRATEGY
public static void encode(PdfStream s, int level) throws PdfException
PdfException
public static ByteBuffer encode(ByteBuffer bb, int level)
public static ByteBuffer encode(String s, int level)
public static void decompress(PdfStream pdfStream) throws PdfException, IOException
PdfException
IOException
public static ByteBuffer decode(ByteBuffer bb) throws PdfBadFileException
PdfBadFileException
public static ByteBuffer dePredict(ByteBuffer bb, PdfDict dp) throws PdfException
PdfException
To contact our support team, send an e-mail to support@gnostice.com.