public class DefaultFeatureTypeDefinitionsManager extends AbstractFeatureTypeDefinitionsManager implements FeatureTypeDefinitionsManager
| Constructor and Description |
|---|
DefaultFeatureTypeDefinitionsManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(FeatureStore store,
FeatureType featureType,
DynClass dynClass)
Associate the DynClass to the feature type.
|
void |
addModel(java.io.File model)
Add the definitions of feature types in the file.
|
boolean |
contains(FeatureStore store,
FeatureType featureType)
Return true if exists a DynClass defined associated to the feature
type passed as parameter.
|
DynClass |
get(FeatureStore store,
FeatureType featureType)
Search if exists a DynClass associated to the feature type and return it.
|
protected long |
getCRC(FeatureType type) |
protected java.io.File |
getDefinitionFile(java.lang.String key) |
protected java.io.File |
getDefinitionsFolder() |
protected java.util.Map<java.lang.String,DynClass> |
getDynClasses() |
protected java.lang.String |
getKey(FeatureStore store,
FeatureType featureType) |
protected java.lang.String |
getKey(FeatureStore store,
FeatureType featureType,
java.lang.String name) |
void |
remove(FeatureStore store,
FeatureType featureType)
Unlink the DynClass associated to the feature type.
|
public DefaultFeatureTypeDefinitionsManager()
protected java.util.Map<java.lang.String,DynClass> getDynClasses()
protected java.io.File getDefinitionsFolder()
throws java.io.IOException
java.io.IOExceptionprotected long getCRC(FeatureType type)
protected java.lang.String getKey(FeatureStore store, FeatureType featureType)
protected java.lang.String getKey(FeatureStore store, FeatureType featureType, java.lang.String name)
protected java.io.File getDefinitionFile(java.lang.String key)
public DynClass get(FeatureStore store, FeatureType featureType)
FeatureTypeDefinitionsManagerget in interface FeatureTypeDefinitionsManagerpublic boolean contains(FeatureStore store, FeatureType featureType)
FeatureTypeDefinitionsManagercontains in interface FeatureTypeDefinitionsManagerpublic void add(FeatureStore store, FeatureType featureType, DynClass dynClass)
FeatureTypeDefinitionsManageradd in interface FeatureTypeDefinitionsManagerpublic void remove(FeatureStore store, FeatureType featureType)
FeatureTypeDefinitionsManagerremove in interface FeatureTypeDefinitionsManagerpublic void addModel(java.io.File model)
FeatureTypeDefinitionsManageraddModel in interface FeatureTypeDefinitionsManager