Enum FileMgr.FileTransferErrorCode
- java.lang.Object
-
- java.lang.Enum<FileMgr.FileTransferErrorCode>
-
- org.silverpeas.mobile.client.common.file.FileMgr.FileTransferErrorCode
-
- All Implemented Interfaces:
Serializable
,Comparable<FileMgr.FileTransferErrorCode>
- Enclosing class:
- FileMgr
public static enum FileMgr.FileTransferErrorCode extends Enum<FileMgr.FileTransferErrorCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTION_ERR
FILE_NOT_FOUND_ERR
INVALID_URL_ERR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileMgr.FileTransferErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static FileMgr.FileTransferErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILE_NOT_FOUND_ERR
public static final FileMgr.FileTransferErrorCode FILE_NOT_FOUND_ERR
-
INVALID_URL_ERR
public static final FileMgr.FileTransferErrorCode INVALID_URL_ERR
-
CONNECTION_ERR
public static final FileMgr.FileTransferErrorCode CONNECTION_ERR
-
-
Method Detail
-
values
public static FileMgr.FileTransferErrorCode[] 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 (FileMgr.FileTransferErrorCode c : FileMgr.FileTransferErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileMgr.FileTransferErrorCode 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
-
-