Enum FileModeEnum
- java.lang.Object
-
- java.lang.Enum<FileModeEnum>
-
- com.almis.awe.tools.filemanager.enums.FileModeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<FileModeEnum>
public enum FileModeEnum extends Enum<FileModeEnum>
- Author:
- pvidal
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHANGEPERMISSIONSCOMPRESSCOPYCREATEFOLDERDOWNLOADDOWNLOADMULTIPLEEDITEXTRACTGETCONTENTLISTMOVEREMOVERENAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileModeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static FileModeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LIST
public static final FileModeEnum LIST
-
RENAME
public static final FileModeEnum RENAME
-
MOVE
public static final FileModeEnum MOVE
-
COPY
public static final FileModeEnum COPY
-
REMOVE
public static final FileModeEnum REMOVE
-
EDIT
public static final FileModeEnum EDIT
-
CREATEFOLDER
public static final FileModeEnum CREATEFOLDER
-
CHANGEPERMISSIONS
public static final FileModeEnum CHANGEPERMISSIONS
-
GETCONTENT
public static final FileModeEnum GETCONTENT
-
COMPRESS
public static final FileModeEnum COMPRESS
-
EXTRACT
public static final FileModeEnum EXTRACT
-
DOWNLOAD
public static final FileModeEnum DOWNLOAD
-
DOWNLOADMULTIPLE
public static final FileModeEnum DOWNLOADMULTIPLE
-
-
Method Detail
-
values
public static FileModeEnum[] 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 (FileModeEnum c : FileModeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileModeEnum 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
-
-