public abstract class AbstractDataServerExplorer extends AbstractDisposable implements DataServerExplorer_v2
Modifier and Type | Field and Description |
---|---|
protected static Logger |
LOGGER |
FILESYSTEM_SERVER_EXPLORER_NAME, MODE_ALL, MODE_FEATURE, MODE_GEOMETRY, MODE_RASTER
Modifier | Constructor and Description |
---|---|
protected |
AbstractDataServerExplorer(DataServerExplorerParameters parameters,
DataServerExplorerProviderServices providerServices) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close connection to the server
|
SQLBuilder |
createSQLBuilder() |
protected void |
doDispose()
Internal implementation for the
AbstractDisposable.dispose() method, to be
implemented by child classes. |
boolean |
exists(DataStoreParameters parameters) |
DataStoreParameters |
get(java.lang.String name) |
DataServerExplorerParameters |
getParameters()
Returns this DataServerExplorer parameters
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties() |
java.lang.Object |
getProperty(java.lang.String name) |
java.io.File |
getResourcePath(DataStore dataStore,
java.lang.String resourceName)
Deprecated.
|
ResourcesStorage |
getResourcesStorage() |
ResourcesStorage |
getResourcesStorage(DataStore dataStore) |
ResourcesStorage |
getResourcesStorage(DataStoreParameters parameters) |
DataServerExplorerProviderServices |
getServerExplorerProviderServices() |
void |
open()
Open connection to the server
|
DataStore |
open(DataStoreParameters dsp)
Open a store defined by
dsp |
void |
setProperty(java.lang.String name,
java.lang.Object value) |
dispose, dispose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, canAdd, canAdd, getAddParameters, getDataStoreProviderNames, getProviderName, list, list, remove
dispose
protected AbstractDataServerExplorer(DataServerExplorerParameters parameters, DataServerExplorerProviderServices providerServices)
public DataServerExplorerProviderServices getServerExplorerProviderServices()
public DataServerExplorerParameters getParameters()
DataServerExplorer
getParameters
in interface DataServerExplorer
protected void doDispose() throws BaseException
AbstractDisposable
AbstractDisposable.dispose()
method, to be
implemented by child classes.doDispose
in class AbstractDisposable
BaseException
AbstractDisposable.dispose()
public DataStoreParameters get(java.lang.String name) throws DataException
get
in interface DataServerExplorer
DataException
public boolean exists(DataStoreParameters parameters) throws DataException
exists
in interface DataServerExplorer
DataException
@Deprecated public java.io.File getResourcePath(DataStore dataStore, java.lang.String resourceName) throws DataException
DataServerExplorer
getResourcePath
in interface DataServerExplorer
DataException
public ResourcesStorage getResourcesStorage()
getResourcesStorage
in interface DataServerExplorer
public ResourcesStorage getResourcesStorage(DataStore dataStore)
getResourcesStorage
in interface DataServerExplorer
public ResourcesStorage getResourcesStorage(DataStoreParameters parameters)
getResourcesStorage
in interface DataServerExplorer
public SQLBuilder createSQLBuilder()
createSQLBuilder
in interface DataServerExplorer_v2
public void open() throws OpenException
DataServerExplorer_v2
open
in interface DataServerExplorer_v2
OpenException
public void close() throws CloseException
DataServerExplorer_v2
close
in interface DataServerExplorer_v2
CloseException
public DataStore open(DataStoreParameters dsp) throws DataException
DataServerExplorer_v2
dsp
open
in interface DataServerExplorer_v2
DataException
public java.lang.Object getProperty(java.lang.String name)
getProperty
in interface PropertiesSupport
public void setProperty(java.lang.String name, java.lang.Object value)
setProperty
in interface PropertiesSupport
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
getProperties
in interface PropertiesSupport