public static enum MapLayer.RenderType extends java.lang.Enum<MapLayer.RenderType>
| Enum Constant and Description |
|---|
JPEG
Render as JPEG.
|
PNG
Render as PNG.
|
SVG
Render as SVG.
|
TIFF
Render as TIFF.
|
UNKNOWN
Unknown Rendering Format (let CreateMapProcessor decide).
|
| Modifier and Type | Method and Description |
|---|---|
static MapLayer.RenderType |
fromFileExtension(java.lang.String fileExtension)
Get RenderType from a string that represents a file extension.
|
static MapLayer.RenderType |
fromMimeType(java.lang.String mimeType)
Get RenderType from a string that represents a mime type.
|
static MapLayer.RenderType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MapLayer.RenderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapLayer.RenderType UNKNOWN
public static final MapLayer.RenderType PNG
public static final MapLayer.RenderType JPEG
public static final MapLayer.RenderType TIFF
public static final MapLayer.RenderType SVG
public static MapLayer.RenderType[] values()
for (MapLayer.RenderType c : MapLayer.RenderType.values()) System.out.println(c);
public static MapLayer.RenderType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static MapLayer.RenderType fromMimeType(java.lang.String mimeType)
mimeType - string with mime typepublic static MapLayer.RenderType fromFileExtension(java.lang.String fileExtension)
fileExtension - string with file extension