Package org.openstreetmap.josm.io
Enum Class UrlPatterns.OsmChangeUrlPattern
java.lang.Object
java.lang.Enum<UrlPatterns.OsmChangeUrlPattern>
org.openstreetmap.josm.io.UrlPatterns.OsmChangeUrlPattern
- All Implemented Interfaces:
Serializable,Comparable<UrlPatterns.OsmChangeUrlPattern>,Constable,UrlPattern
- Enclosing class:
- UrlPatterns
public static enum UrlPatterns.OsmChangeUrlPattern
extends Enum<UrlPatterns.OsmChangeUrlPattern>
implements UrlPattern
Patterns for OsmChange data download URLs.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionURL of remote compressed osc fileURL of remote .osc fileURL of OSM API 0.6 changesetURL of OSM changeset on OpenStreetMap website -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpattern()Returns the URL pattern.Returns the enum constant of this class with the specified name.static UrlPatterns.OsmChangeUrlPattern[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.openstreetmap.josm.io.UrlPattern
matcher, matches, matches
-
Enum Constant Details
-
OSM_WEBSITE
URL of OSM changeset on OpenStreetMap website -
OSM_API
URL of OSM API 0.6 changeset -
EXTERNAL_OSC_FILE
URL of remote .osc file -
EXTERNAL_COMPRESSED_FILE
URL of remote compressed osc file
-
-
Field Details
-
urlPattern
-
-
Constructor Details
-
OsmChangeUrlPattern
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
pattern
Description copied from interface:UrlPatternReturns the URL pattern.- Specified by:
patternin interfaceUrlPattern- Returns:
- the URL pattern
-