public static enum TransferOptions.Protocol extends Enum<TransferOptions.Protocol>
| Modifier and Type | Method and Description |
|---|---|
static TransferOptions.Protocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferOptions.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferOptions.Protocol HTTP
public static final TransferOptions.Protocol TCP
public static final TransferOptions.Protocol UDP
public static final TransferOptions.Protocol SMP
public static TransferOptions.Protocol[] values()
for (TransferOptions.Protocol c : TransferOptions.Protocol.values()) System.out.println(c);
public static TransferOptions.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 © 2016. All Rights Reserved.