public enum GeometryType extends Enum<GeometryType>
| Enum Constant and Description |
|---|
ALL |
COORDINATE |
LINE |
MULTILINE |
MULTIPOINT |
MULTIPOLYGON |
POINT |
POLYGON |
TRIANGLE |
UNSUPPORTED |
| Modifier and Type | Method and Description |
|---|---|
static Class |
getClassByExtension(String extension) |
String |
getExtension() |
static String |
getExtensionByClass(com.vividsolutions.jts.geom.Geometry typeClass) |
Class |
getGeometryClass() |
static GeometryType |
getTypeByClass(com.vividsolutions.jts.geom.Geometry typeClass) |
static GeometryType |
getTypeByExtension(String typeExtension) |
static String[] |
getTypeNames(String filename,
GeometryType... types) |
static Map |
getTypeNamesMap(String filename,
GeometryType... types) |
static void |
setExtension(GeometryType type,
String extension) |
static String |
stripExtensionFromTypename(String typename,
GeometryType type) |
static GeometryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeometryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeometryType UNSUPPORTED
public static final GeometryType ALL
public static final GeometryType POINT
public static final GeometryType LINE
public static final GeometryType POLYGON
public static final GeometryType MULTIPOINT
public static final GeometryType MULTILINE
public static final GeometryType MULTIPOLYGON
public static final GeometryType COORDINATE
public static final GeometryType TRIANGLE
public static GeometryType[] values()
for (GeometryType c : GeometryType.values()) System.out.println(c);
public static GeometryType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Class getGeometryClass()
public String getExtension()
public static void setExtension(GeometryType type, String extension)
public static String[] getTypeNames(String filename, GeometryType... types)
public static Map getTypeNamesMap(String filename, GeometryType... types)
public static String getExtensionByClass(com.vividsolutions.jts.geom.Geometry typeClass)
public static GeometryType getTypeByClass(com.vividsolutions.jts.geom.Geometry typeClass)
public static GeometryType getTypeByExtension(String typeExtension)
public static String stripExtensionFromTypename(String typename, GeometryType type)
Copyright © 2018 B3Partners B.V.. All rights reserved.