public static enum OsmServerLocationReader.NoteUrlPattern extends java.lang.Enum<OsmServerLocationReader.NoteUrlPattern>
Enum Constant and Description |
---|
API_URL
URL of OSM API Notes endpoint
|
DUMP_FILE
URL of OSM API Notes compressed dump file
|
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.NoteUrlPattern |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OsmServerLocationReader.NoteUrlPattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OsmServerLocationReader.NoteUrlPattern API_URL
public static final OsmServerLocationReader.NoteUrlPattern DUMP_FILE
private final java.lang.String urlPattern
public static OsmServerLocationReader.NoteUrlPattern[] values()
for (OsmServerLocationReader.NoteUrlPattern c : OsmServerLocationReader.NoteUrlPattern.values()) System.out.println(c);
public static OsmServerLocationReader.NoteUrlPattern 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()