public static enum Transport.PROTOCOL extends Enum<Transport.PROTOCOL>
| Enum Constant and Description |
|---|
filesystem |
ftp |
http |
https |
SWORDv2 |
| Modifier and Type | Method and Description |
|---|---|
static Transport.PROTOCOL |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transport.PROTOCOL[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transport.PROTOCOL http
public static final Transport.PROTOCOL https
public static final Transport.PROTOCOL ftp
public static final Transport.PROTOCOL SWORDv2
public static final Transport.PROTOCOL filesystem
public static Transport.PROTOCOL[] values()
for (Transport.PROTOCOL c : Transport.PROTOCOL.values()) System.out.println(c);
public static Transport.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 © 2019. All rights reserved.