public enum PdfTextCompression extends Enum<PdfTextCompression>
Specifies a type of compression applied to all contents in the PDF file except images.
Enum Constant and Description |
---|
Flate
Flate compression type
|
Lzw
Lzw compression type
|
None
None compression type
|
Rle
Rle compression type
|
Modifier and Type | Method and Description |
---|---|
static PdfTextCompression |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PdfTextCompression[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PdfTextCompression None
None compression type
public static final PdfTextCompression Rle
Rle compression type
public static final PdfTextCompression Lzw
Lzw compression type
public static final PdfTextCompression Flate
Flate compression type
public static PdfTextCompression[] values()
for (PdfTextCompression c : PdfTextCompression.values()) System.out.println(c);
public static PdfTextCompression valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null