public class ModelContentResolver extends FileContentResolver
_handlers, _validExts| Constructor and Description |
|---|
ModelContentResolver(MapView mv,
FeatureDataStore2 dataStore) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addHandler(FileContentHandler handler,
boolean allowUpdate)
Add a new handler to the cache and notify listeners
|
ModelContentHandler |
getHandler(long fsid)
Get a model handler by its feature set ID
|
void |
removeHandler(java.io.File file)
Remove a file-based content handler
|
addHandler, dispose, getHandler, getHandler, getHandlers, onVisibilityConditions, querypublic ModelContentResolver(MapView mv, FeatureDataStore2 dataStore)
public ModelContentHandler getHandler(long fsid)
fsid - Feature set IDpublic boolean addHandler(FileContentHandler handler, boolean allowUpdate)
FileContentResolveraddHandler in class FileContentResolverhandler - File-based content handlerallowUpdate - True to update existing handlers, false to ignore addpublic void removeHandler(java.io.File file)
FileContentResolverremoveHandler in class FileContentResolverfile - File