public static enum UrlPatterns.OsmUrlPattern extends java.lang.Enum<UrlPatterns.OsmUrlPattern> implements UrlPattern
| Enum Constant and Description |
|---|
EXTERNAL_COMPRESSED_FILE
URL of remote compressed osm file
|
EXTERNAL_OSM_FILE
URL of remote .osm file
|
OSM_API_URL
URL of OSM API
|
OVERPASS_API_URL
URL of Overpass API
|
OVERPASS_API_XAPI_URL
URL of Overpass API (XAPI compatibility)
|
| 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 UrlPatterns.OsmUrlPattern |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UrlPatterns.OsmUrlPattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfmatcher, matches, matchespublic static final UrlPatterns.OsmUrlPattern OSM_API_URL
public static final UrlPatterns.OsmUrlPattern OVERPASS_API_URL
public static final UrlPatterns.OsmUrlPattern OVERPASS_API_XAPI_URL
public static final UrlPatterns.OsmUrlPattern EXTERNAL_OSM_FILE
public static final UrlPatterns.OsmUrlPattern EXTERNAL_COMPRESSED_FILE
private final java.lang.String urlPattern
public static UrlPatterns.OsmUrlPattern[] values()
for (UrlPatterns.OsmUrlPattern c : UrlPatterns.OsmUrlPattern.values()) System.out.println(c);
public static UrlPatterns.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()
UrlPatternpattern in interface UrlPattern