public enum WriteOption extends Enum<WriteOption>
| Enum Constant and Description |
|---|
COMPRESS_STREAMS
Adds a Flate filter to the streams if not already there
|
OBJECT_STREAMS
Writes pdf objects using objects stream
|
SYNC_BODY_WRITE
Writes the document using the synchronous writer as opposed to the default async one
|
XREF_STREAM
Writes the xref data as stream
|
| Modifier and Type | Method and Description |
|---|---|
static WriteOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WriteOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteOption XREF_STREAM
public static final WriteOption SYNC_BODY_WRITE
public static final WriteOption OBJECT_STREAMS
public static final WriteOption COMPRESS_STREAMS
public static WriteOption[] values()
for (WriteOption c : WriteOption.values()) System.out.println(c);
public static WriteOption 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 nullCopyright © 2019 sejda. All rights reserved.