Package com.esri.arcgisruntime.data
Enum TileCache.StorageFormat
- java.lang.Object
-
- java.lang.Enum<TileCache.StorageFormat>
-
- com.esri.arcgisruntime.data.TileCache.StorageFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<TileCache.StorageFormat>
- Enclosing class:
- TileCache
public static enum TileCache.StorageFormat extends Enum<TileCache.StorageFormat>
The storage format of a tile cache.- Since:
- 100.10.0
- See Also:
TileCache.getCacheStorageFormat()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPACT
Compact storage format (.tpk).COMPACT_V2
Compact V2 storage format (.tpkx).EXPLODED
Exploded storage format.UNKNOWN
Unknown storage format.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TileCache.StorageFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static TileCache.StorageFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPACT
public static final TileCache.StorageFormat COMPACT
Compact storage format (.tpk).- Since:
- 100.10.0
-
COMPACT_V2
public static final TileCache.StorageFormat COMPACT_V2
Compact V2 storage format (.tpkx).For more details on the specification of a tpkx file, see https://github.com/Esri/tile-package-spec.
- Since:
- 100.10.0
-
EXPLODED
public static final TileCache.StorageFormat EXPLODED
Exploded storage format.- Since:
- 100.10.0
-
UNKNOWN
public static final TileCache.StorageFormat UNKNOWN
Unknown storage format.- Since:
- 100.10.0
-
-
Method Detail
-
values
public static TileCache.StorageFormat[] 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 (TileCache.StorageFormat c : TileCache.StorageFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TileCache.StorageFormat valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-