public static enum FtpServiceDescriptor.ServiceType extends java.lang.Enum<FtpServiceDescriptor.ServiceType>
| Enum Constant and Description |
|---|
EXPLICIT_SSL |
FORCED_EXPLICIT_SSL |
IMPLICIT_SSL |
REGULAR |
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
code |
int |
defaultPort |
boolean |
keyUsed |
| Modifier and Type | Method and Description |
|---|---|
static FtpServiceDescriptor.ServiceType |
typeFor(java.lang.String code) |
static FtpServiceDescriptor.ServiceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FtpServiceDescriptor.ServiceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FtpServiceDescriptor.ServiceType REGULAR
public static final FtpServiceDescriptor.ServiceType EXPLICIT_SSL
public static final FtpServiceDescriptor.ServiceType FORCED_EXPLICIT_SSL
public static final FtpServiceDescriptor.ServiceType IMPLICIT_SSL
public final java.lang.String code
public final int defaultPort
public final boolean keyUsed
public static FtpServiceDescriptor.ServiceType[] values()
for (FtpServiceDescriptor.ServiceType c : FtpServiceDescriptor.ServiceType.values()) System.out.println(c);
public static FtpServiceDescriptor.ServiceType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static FtpServiceDescriptor.ServiceType typeFor(java.lang.String code)
Copyright © 2009-2023. Redwood Software Inc. All rights reserved.