Enum BaseFileItem.Type
- java.lang.Object
-
- java.lang.Enum<BaseFileItem.Type>
-
- org.apache.openmeetings.db.entity.file.BaseFileItem.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<BaseFileItem.Type>
- Enclosing class:
- BaseFileItem
public static enum BaseFileItem.Type extends Enum<BaseFileItem.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FOLDER
IMAGE
POLL_CHART
PRESENTATION
RECORDING
VIDEO
WML_FILE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BaseFileItem.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static BaseFileItem.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FOLDER
public static final BaseFileItem.Type FOLDER
-
IMAGE
public static final BaseFileItem.Type IMAGE
-
POLL_CHART
public static final BaseFileItem.Type POLL_CHART
-
PRESENTATION
public static final BaseFileItem.Type PRESENTATION
-
RECORDING
public static final BaseFileItem.Type RECORDING
-
VIDEO
public static final BaseFileItem.Type VIDEO
-
WML_FILE
public static final BaseFileItem.Type WML_FILE
-
-
Method Detail
-
values
public static BaseFileItem.Type[] 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 (BaseFileItem.Type c : BaseFileItem.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BaseFileItem.Type 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
-
-