Enum FtpDownloader.FTPError
- java.lang.Object
-
- java.lang.Enum<FtpDownloader.FTPError>
-
- org.esa.snap.core.dataop.downloadable.FtpDownloader.FTPError
-
- All Implemented Interfaces:
Serializable
,Comparable<FtpDownloader.FTPError>
- Enclosing class:
- FtpDownloader
public static enum FtpDownloader.FTPError extends Enum<FtpDownloader.FTPError>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILE_NOT_FOUND
OK
READ_ERROR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FtpDownloader.FTPError
valueOf(String name)
Returns the enum constant of this type with the specified name.static FtpDownloader.FTPError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILE_NOT_FOUND
public static final FtpDownloader.FTPError FILE_NOT_FOUND
-
OK
public static final FtpDownloader.FTPError OK
-
READ_ERROR
public static final FtpDownloader.FTPError READ_ERROR
-
-
Method Detail
-
values
public static FtpDownloader.FTPError[] 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 (FtpDownloader.FTPError c : FtpDownloader.FTPError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FtpDownloader.FTPError 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
-
-