org.openstreetmap.gui.jmapviewer.interfaces
Enum TileSource.TileUpdate

java.lang.Object
  extended by java.lang.Enum<TileSource.TileUpdate>
      extended by 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.


Enum Constant Summary
ETag
           
IfModifiedSince
           
IfNoneMatch
           
LastModified
           
None
           
 
Method Summary
static TileSource.TileUpdate valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TileSource.TileUpdate[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

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
Method Detail

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