public enum DocumentSourceType extends Enum<DocumentSourceType>
| Enum Constant and Description |
|---|
LOCAL_FILE
Upload local files.
|
ONLINE_WEB
Upload online web pages.
|
| Modifier and Type | Method and Description |
|---|---|
static DocumentSourceType |
fromValue(int value) |
int |
getValue() |
static DocumentSourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentSourceType LOCAL_FILE
public static final DocumentSourceType ONLINE_WEB
public static DocumentSourceType[] values()
for (DocumentSourceType c : DocumentSourceType.values()) System.out.println(c);
public static DocumentSourceType 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 getValue()
public static DocumentSourceType fromValue(int value)
Copyright © 2024. All rights reserved.