public enum FileFormat extends Enum<FileFormat >
| Enum Constant and Description |
|---|
GEOJSON
GeoJSON
|
POLY
Polygon filter file format (osmosis)
|
WKB
WKB: Well known binary
|
WKT
WKT: Well known text
|
| Modifier and Type | Method and Description |
|---|---|
static FileFormat |
fromExtension(String
Get the FileFormat to use for the denoted extension.
|
static String |
getExtension(FileFormat
Get the default file-extension to use for the denoted format.
|
static FileFormat |
valueOf(String
Returns the enum constant of this type with the specified name.
|
static FileFormat |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final FileFormatPOLY
public static final FileFormatWKB
public static final FileFormatWKT
public static final FileFormatGEOJSON
public static FileFormat[] values()
for (FileFormat c : FileFormat.values()) System.out.println(c);
public static FileFormatvalueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null
public static FileFormatfromExtension(String extension)
extension - the file extension.
public static StringgetExtension(FileFormat format)
format - the file format.