public static enum OsmServerLocationReader.OsmUrlPattern extends java.lang.Enum<OsmServerLocationReader.OsmUrlPattern>
| Enum Constant and Description |
|---|
EXTERNAL_OSM_FILE |
OSM_API_URL |
OVERPASS_API_URL |
OVERPASS_API_XAPI_URL |
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
urlPattern |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
pattern()
Returns the URL pattern.
|
static OsmServerLocationReader.OsmUrlPattern |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OsmServerLocationReader.OsmUrlPattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OsmServerLocationReader.OsmUrlPattern OSM_API_URL
public static final OsmServerLocationReader.OsmUrlPattern OVERPASS_API_URL
public static final OsmServerLocationReader.OsmUrlPattern OVERPASS_API_XAPI_URL
public static final OsmServerLocationReader.OsmUrlPattern EXTERNAL_OSM_FILE
private final java.lang.String urlPattern
public static OsmServerLocationReader.OsmUrlPattern[] values()
for (OsmServerLocationReader.OsmUrlPattern c : OsmServerLocationReader.OsmUrlPattern.values()) System.out.println(c);
public static OsmServerLocationReader.OsmUrlPattern 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 namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String pattern()