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