Package de.xima.fc.gui.elfinder
Enum ElFinderUploadMime.EElFinderFirstOrder
- java.lang.Object
-
- java.lang.Enum<ElFinderUploadMime.EElFinderFirstOrder>
-
- de.xima.fc.gui.elfinder.ElFinderUploadMime.EElFinderFirstOrder
-
- All Implemented Interfaces:
Serializable
,Comparable<ElFinderUploadMime.EElFinderFirstOrder>
- Enclosing class:
- ElFinderUploadMime
public static enum ElFinderUploadMime.EElFinderFirstOrder extends Enum<ElFinderUploadMime.EElFinderFirstOrder>
First order to check for mime types, corresponding to thefirstOrder
property of the ElFinder upload mime configuration. Usually you do not need this, use one of the static factory methods instead, and then useallowsMimeType
method.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ElFinderUploadMime.EElFinderFirstOrder
valueOf(String name)
Returns the enum constant of this type with the specified name.static ElFinderUploadMime.EElFinderFirstOrder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
allow
public static final ElFinderUploadMime.EElFinderFirstOrder allow
Allow mime types first, then deny.
-
deny
public static final ElFinderUploadMime.EElFinderFirstOrder deny
Deny mime types first, then allow.
-
-
Method Detail
-
values
public static ElFinderUploadMime.EElFinderFirstOrder[] 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 (ElFinderUploadMime.EElFinderFirstOrder c : ElFinderUploadMime.EElFinderFirstOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ElFinderUploadMime.EElFinderFirstOrder 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
-
-