public enum PaperDocUpdatePolicy extends java.lang.Enum<PaperDocUpdatePolicy>
Enum Constant and Description |
---|
APPEND
The content will be appended to the doc.
|
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.
|
OVERWRITE_ALL
The document will be overwitten at the head with the provided content.
|
PREPEND
The content will be prepended to the doc.
|
Modifier and Type | Method and Description |
---|---|
static PaperDocUpdatePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaperDocUpdatePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaperDocUpdatePolicy APPEND
public static final PaperDocUpdatePolicy PREPEND
public static final PaperDocUpdatePolicy OVERWRITE_ALL
public static final PaperDocUpdatePolicy OTHER
Receiving a catch-all value typically indicates this SDK version is not up to date. Consider updating your SDK version to handle the new tags.
public static PaperDocUpdatePolicy[] values()
for (PaperDocUpdatePolicy c : PaperDocUpdatePolicy.values()) System.out.println(c);
public static PaperDocUpdatePolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null