public static enum UrlPatterns.NoteUrlPattern extends java.lang.Enum<UrlPatterns.NoteUrlPattern> implements UrlPattern
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 UrlPatterns.NoteUrlPattern |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UrlPatterns.NoteUrlPattern[] |
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, valueOf
matcher, matches, matches
public static final UrlPatterns.NoteUrlPattern API_URL
public static final UrlPatterns.NoteUrlPattern DUMP_FILE
private final java.lang.String urlPattern
public static UrlPatterns.NoteUrlPattern[] values()
for (UrlPatterns.NoteUrlPattern c : UrlPatterns.NoteUrlPattern.values()) System.out.println(c);
public static UrlPatterns.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()
UrlPattern
pattern
in interface UrlPattern