public enum TextCompressionEnum extends Enum<TextCompressionEnum>
Specifies a type of compression applied to all content 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 |
---|---|
int |
getType()
Gets the value that represents the type of the enum.
|
static TextCompressionEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextCompressionEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextCompressionEnum None
None compression type
public static final TextCompressionEnum Rle
Rle compression type
public static final TextCompressionEnum Lzw
Lzw compression type
public static final TextCompressionEnum Flate
Flate compression type
public static TextCompressionEnum[] values()
for (TextCompressionEnum c : TextCompressionEnum.values()) System.out.println(c);
public static TextCompressionEnum 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 nullpublic int getType()