public class FeatureTools extends Object
| Modifier and Type | Field and Description |
|---|---|
static DecimalFormat |
FORMATTER |
| Constructor and Description |
|---|
FeatureTools() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
convertObjectToClass(Object object,
Class cl)
Converts the given object to the given class.
|
static Class<?> |
getClass(FeatureServiceAttribute attr)
Determines the java class that can represent the type of the given feature attribute.
|
static AbstractNewFeature.geomTypes |
getGeomType(com.vividsolutions.jts.geom.Geometry geom)
DOCUMENT ME!
|
static String |
getH2DataType(FeatureServiceAttribute attr)
Determines the H2 data type that can represent the type of the given feature attribute.
|
static String |
getType(Class cl)
Converts the given java data type to its corresponding feature data type.
|
public static final DecimalFormat FORMATTER
public static Class<?> getClass(FeatureServiceAttribute attr)
attr - DOCUMENT ME!public static String getType(Class cl)
cl - a java classpublic static String getH2DataType(FeatureServiceAttribute attr)
attr - DOCUMENT ME!public static Object convertObjectToClass(Object object, Class cl) throws Exception
object - the object to convertcl - the class, the object should be converted toException - If the conversion is not possiblepublic static AbstractNewFeature.geomTypes getGeomType(com.vividsolutions.jts.geom.Geometry geom)
geom - DOCUMENT ME!Copyright © 2012–2025 cismet GmbH. All rights reserved.