Package com.podio.file
Enum FileSize
- java.lang.Object
-
- java.lang.Enum<FileSize>
-
- com.podio.file.FileSize
-
- All Implemented Interfaces:
Serializable,Comparable<FileSize>
public enum FileSize extends Enum<FileSize>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileSizevalueOf(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.
-
-
-
Enum Constant Detail
-
PREVIEW
public static final FileSize PREVIEW
-
BADGE
public static final FileSize BADGE
-
TINY
public static final FileSize TINY
-
SMALL
public static final FileSize SMALL
-
MEDIUM
public static final FileSize MEDIUM
-
LARGE
public static final FileSize LARGE
-
EXTRA_LARGE
public static final FileSize EXTRA_LARGE
-
-
Method Detail
-
values
public static FileSize[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FileSize c : FileSize.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileSize valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-