gov.nasa.worldwind.servers.wms.formats
Enum ImageTypes
java.lang.Object
java.lang.Enum<ImageTypes>
gov.nasa.worldwind.servers.wms.formats.ImageTypes
- All Implemented Interfaces:
- Serializable, Comparable<ImageTypes>
public enum ImageTypes
- extends Enum<ImageTypes>
DDS
public static final ImageTypes DDS
GEOTIFF
public static final ImageTypes GEOTIFF
GIF
public static final ImageTypes GIF
JPEG
public static final ImageTypes JPEG
PNG
public static final ImageTypes PNG
fileSuffix
public String fileSuffix
gdalType
public String gdalType
mimeType
public String mimeType
getGDALTypeFromMime
public static ImageTypes getGDALTypeFromMime(String mimeType)
valueOf
public static ImageTypes 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 name
values
public static final ImageTypes[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(ImageTypes c : ImageTypes.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared