public enum FileSource extends java.lang.Enum<FileSource>
Enum Constant and Description |
---|
ALL |
FACEBOOK |
INSTAGRAM |
MOBILE |
MY_COMPUTER |
SHUTTERSTOCK |
STOCK_IMAGE |
Modifier and Type | Method and Description |
---|---|
static FileSource |
create(java.lang.String str) |
java.lang.String |
toString() |
static FileSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileSource ALL
public static final FileSource MY_COMPUTER
public static final FileSource STOCK_IMAGE
public static final FileSource FACEBOOK
public static final FileSource INSTAGRAM
public static final FileSource SHUTTERSTOCK
public static final FileSource MOBILE
public static FileSource[] values()
for (FileSource c : FileSource.values()) System.out.println(c);
public static FileSource 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<FileSource>
public static FileSource create(java.lang.String str)