JXTA

net.jxta.impl.peergroup
Enum ConfigDialog.IPTptPanel.TransportType

java.lang.Object
  extended by java.lang.Enum<ConfigDialog.IPTptPanel.TransportType>
      extended by net.jxta.impl.peergroup.ConfigDialog.IPTptPanel.TransportType
All Implemented Interfaces:
Serializable, Comparable<ConfigDialog.IPTptPanel.TransportType>
Enclosing class:
ConfigDialog.IPTptPanel

static enum ConfigDialog.IPTptPanel.TransportType
extends Enum<ConfigDialog.IPTptPanel.TransportType>


Enum Constant Summary
TYPE_HTTP
           
TYPE_TCP
           
 
Method Summary
static ConfigDialog.IPTptPanel.TransportType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ConfigDialog.IPTptPanel.TransportType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TYPE_HTTP

public static final ConfigDialog.IPTptPanel.TransportType TYPE_HTTP

TYPE_TCP

public static final ConfigDialog.IPTptPanel.TransportType TYPE_TCP
Method Detail

values

public static ConfigDialog.IPTptPanel.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 (ConfigDialog.IPTptPanel.TransportType c : ConfigDialog.IPTptPanel.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 ConfigDialog.IPTptPanel.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

JXSE