public static enum FtpUtils.CryptMethod extends Enum<FtpUtils.CryptMethod> implements com.openindex.openestate.impl.utils.Translatable
Enum Constant and Description |
---|
FTPS_EXPLICIT |
FTPS_IMPLICIT |
NO_ENCRYPTION |
Modifier and Type | Method and Description |
---|---|
String |
getTranslation() |
String |
getTranslation(Locale locale) |
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 nullpublic String getTranslation()
getTranslation
in interface com.openindex.openestate.impl.utils.Translatable
Copyright © 2019 OpenEstate. All rights reserved.