org.neociclo.odetteftp
Enum TransportType
java.lang.Object
java.lang.Enum<TransportType>
org.neociclo.odetteftp.TransportType
- All Implemented Interfaces:
- Serializable, Comparable<TransportType>
public enum TransportType
- extends Enum<TransportType>
- Version:
- $Rev: 459 $ $Date: 2010-07-02 06:33:44 -0300 (Fri, 02 Jul 2010) $
- Author:
- Rafael Marins
Enum Constant Summary |
TCPIP
Internet standard transport type. |
X25_MBGW
X.25 Microtronix More-Data-Bit Gateway transport type. |
Method Summary |
static TransportType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TransportType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
TCPIP
public static final TransportType TCPIP
- Internet standard transport type.
X25_MBGW
public static final TransportType X25_MBGW
- X.25 Microtronix More-Data-Bit Gateway transport type.
values
public static TransportType[] 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 (TransportType c : TransportType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TransportType 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 name
NullPointerException
- if the argument is null
ACCORD