org.openstreetmap.gui.jmapviewer.interfaces
Enum TileSource.TileUpdate
java.lang.Object
java.lang.Enum<TileSource.TileUpdate>
org.openstreetmap.gui.jmapviewer.interfaces.TileSource.TileUpdate
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<TileSource.TileUpdate>
- Enclosing interface:
- TileSource
public static enum TileSource.TileUpdate
- extends java.lang.Enum<TileSource.TileUpdate>
Specifies the different mechanisms for detecting updated tiles
respectively only download newer tiles than those stored locally.
IfNoneMatch
Server provides ETag header entry for all tiles
and supports conditional download via If-None-Match
header entry.
ETag
Server provides ETag header entry for all tiles but
does not support conditional download via
If-None-Match
header entry.
IfModifiedSince
Server provides Last-Modified header entry
for all tiles and supports conditional download via
If-Modified-Since
header entry.
LastModified
Server provides Last-Modified header entry for
all tiles but does not support conditional download via
If-Modified-Since
header entry.
None
The server does not support any of the listed
mechanisms.
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
IfNoneMatch
public static final TileSource.TileUpdate IfNoneMatch
ETag
public static final TileSource.TileUpdate ETag
IfModifiedSince
public static final TileSource.TileUpdate IfModifiedSince
LastModified
public static final TileSource.TileUpdate LastModified
None
public static final TileSource.TileUpdate None
values
public static TileSource.TileUpdate[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (TileSource.TileUpdate c : TileSource.TileUpdate.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TileSource.TileUpdate valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
JOSM