|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum<RemoteEndpoint>
kreverse.krlib.RemoteEndpoint
public enum RemoteEndpoint
Repräsentiert Host und Port der Knuddels-Chatsysteme.
| Enum Constant Summary | |
|---|---|
AT
|
|
CH
|
|
COM
|
|
DE
|
|
MFC
|
|
TEST
|
|
| Method Summary | |
|---|---|
java.lang.String |
getHost()
Gibt den Host des Chatsystems als String zurück. |
int |
getPort()
Gibt den Port des Chatsystems als Integer zurück. |
static RemoteEndpoint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RemoteEndpoint[] |
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 |
|---|
public static final RemoteEndpoint DE
public static final RemoteEndpoint AT
public static final RemoteEndpoint CH
public static final RemoteEndpoint COM
public static final RemoteEndpoint TEST
public static final RemoteEndpoint MFC
| Method Detail |
|---|
public static RemoteEndpoint[] values()
for (RemoteEndpoint c : RemoteEndpoint.values()) System.out.println(c);
public static RemoteEndpoint 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 name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getHost()
public int getPort()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||