public enum LoadDocumentMode extends Enum<LoadDocumentMode>
| Enum Constant and Description |
|---|
AUTO
When using this mode, JODConverter will auto-detect which mode should be used to open a
document.
|
LOCAL
When using this mode, it is assumed that the OO instance responsible for the conversion is able
to read the file from the disk, and thus the file being converted will be sent as a stream to
the OO instance.
|
REMOTE
When using this mode, the file being converted will be sent as a stream to the OO instance.
|
| Modifier and Type | Method and Description |
|---|---|
static LoadDocumentMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadDocumentMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadDocumentMode LOCAL
public static final LoadDocumentMode REMOTE
public static final LoadDocumentMode AUTO
ExternalOfficeManager, the REMOTE mode is used.
Otherwise, the LOCAL mode is used.public static LoadDocumentMode[] values()
for (LoadDocumentMode c : LoadDocumentMode.values()) System.out.println(c);
public static LoadDocumentMode 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 © 2022 - present; JODConverter. All rights reserved.