NASA World Wind WMS

gov.nasa.worldwind.servers.wms.formats
Enum ImageTypes

java.lang.Object
  extended by java.lang.Enum<ImageTypes>
      extended by gov.nasa.worldwind.servers.wms.formats.ImageTypes
All Implemented Interfaces:
Serializable, Comparable<ImageTypes>

public enum ImageTypes
extends Enum<ImageTypes>


Enum Constant Summary
DDS
           
GEOTIFF
           
GIF
           
JPEG
           
PNG
           
 
Field Summary
 String fileSuffix
           
 String gdalType
           
 String mimeType
           
 
Method Summary
static ImageTypes getGDALTypeFromMime(String mimeType)
           
static ImageTypes valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ImageTypes[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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

fileSuffix

public String fileSuffix

gdalType

public String gdalType

mimeType

public String mimeType
Method Detail

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

NASA World Wind WMS