public enum Protocol extends Enum<Protocol>
Enum Constant and Description |
---|
ALL |
HTTP_GET |
IEC61883 |
INTERNAL |
RTSP_RTP_UDP |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Protocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Protocol |
valueOrNullOf(String s) |
static Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protocol ALL
public static final Protocol HTTP_GET
public static final Protocol RTSP_RTP_UDP
public static final Protocol INTERNAL
public static final Protocol IEC61883
public static Protocol[] values()
for (Protocol c : Protocol.values()) System.out.println(c);
public static Protocol valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2014 4th Line GmbH, Switzerland. All Rights Reserved.