public static enum FtpUtils.CryptMethod extends Enum<FtpUtils.CryptMethod>
Enum Constant and Description |
---|
FTPS_EXPLICIT |
FTPS_IMPLICIT |
NO_ENCRYPTION |
Modifier and Type | Method and Description |
---|---|
static FtpUtils.CryptMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FtpUtils.CryptMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FtpUtils.CryptMethod NO_ENCRYPTION
public static final FtpUtils.CryptMethod FTPS_EXPLICIT
public static final FtpUtils.CryptMethod FTPS_IMPLICIT
public static FtpUtils.CryptMethod[] values()
for (FtpUtils.CryptMethod c : FtpUtils.CryptMethod.values()) System.out.println(c);
public static FtpUtils.CryptMethod valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015 OpenEstate. All rights reserved.