public static enum FileSource.SourceType extends Enum<FileSource.SourceType>
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
FileSource.SourceType |
intern() |
String |
toString() |
static FileSource.SourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileSource.SourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileSource.SourceType PATH
public static final FileSource.SourceType BUFFER
public static FileSource.SourceType[] values()
for (FileSource.SourceType c : FileSource.SourceType.values()) System.out.println(c);
public static FileSource.SourceType 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 FileSource.SourceType intern()
public String toString()
toString in class Enum<FileSource.SourceType>Copyright © 2020. All rights reserved.