com.jscape.inet.mft.management.descriptors
Enum FtpServiceDescriptor.ServiceType
java.lang.Object
java.lang.Enum<FtpServiceDescriptor.ServiceType>
com.jscape.inet.mft.management.descriptors.FtpServiceDescriptor.ServiceType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<FtpServiceDescriptor.ServiceType>
- Enclosing class:
- FtpServiceDescriptor
public static enum FtpServiceDescriptor.ServiceType
- extends java.lang.Enum<FtpServiceDescriptor.ServiceType>
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
REGULAR
public static final FtpServiceDescriptor.ServiceType REGULAR
EXPLICIT_SSL
public static final FtpServiceDescriptor.ServiceType EXPLICIT_SSL
FORCED_EXPLICIT_SSL
public static final FtpServiceDescriptor.ServiceType FORCED_EXPLICIT_SSL
IMPLICIT_SSL
public static final FtpServiceDescriptor.ServiceType IMPLICIT_SSL
code
public final java.lang.String code
defaultPort
public final int defaultPort
keyUsed
public final boolean keyUsed
values
public static FtpServiceDescriptor.ServiceType[] 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 (FtpServiceDescriptor.ServiceType c : FtpServiceDescriptor.ServiceType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FtpServiceDescriptor.ServiceType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
typeFor
public static FtpServiceDescriptor.ServiceType typeFor(java.lang.String code)
Copyright © JSCAPE LLC. 1999-2015. All Rights Reserved