public enum FileSize extends Enum<FileSize>
| Enum Constant and Description |
|---|
BADGE |
EXTRA_LARGE |
LARGE |
MEDIUM |
PREVIEW |
SMALL |
TINY |
| Modifier and Type | Method and Description |
|---|---|
static FileSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileSize PREVIEW
public static final FileSize BADGE
public static final FileSize TINY
public static final FileSize SMALL
public static final FileSize MEDIUM
public static final FileSize LARGE
public static final FileSize EXTRA_LARGE
public static FileSize[] values()
for (FileSize c : FileSize.values()) System.out.println(c);
public static FileSize 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 © 2014. All Rights Reserved.