public class MultiFileServerExplorer extends AbstractDataServerExplorer implements DataServerExplorerProvider
LOGGERFILESYSTEM_SERVER_EXPLORER_NAME, MODE_ALL, MODE_FEATURE, MODE_GEOMETRY, MODE_RASTER| Constructor and Description |
|---|
MultiFileServerExplorer() |
MultiFileServerExplorer(MultiFileServerExplorerParameters parameters,
DataServerExplorerProviderServices services) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(java.lang.String provider,
NewDataStoreParameters parameters,
boolean overwrite)
Creates a new DataStore in this server.
|
boolean |
canAdd()
Indicates whether this DataServerExplorer can create a new DataStore in
the server.
|
boolean |
canAdd(java.lang.String storeName)
Indicates whether this DataServerExplorer can create a new DataStore in
the server, given the store name.
|
DataStoreParameters |
get(java.lang.String string) |
NewDataStoreParameters |
getAddParameters(java.lang.String storeName)
Given the store's name, returns its parameters for creation.
|
java.lang.String |
getDataStoreProviderName() |
java.util.List<java.lang.String> |
getDataStoreProviderNames()
Return the list of provider names that this server allow.
|
java.lang.String |
getDescription() |
int |
getMode() |
java.lang.String |
getProviderName()
Returns the DataServerExplorer's name
|
java.util.List<DataStoreParameters> |
list()
Provides a list of available stores in the server.
|
java.util.List<DataStoreParameters> |
list(int mode)
Provides a list of available stores in the server of a type.
|
void |
remove(DataStoreParameters parameters)
Removes a store from the server given its DataStoreParameters.
|
close, createSQLBuilder, doDispose, exists, getParameters, getProperties, getProperty, getResourcePath, getResourcesStorage, getResourcesStorage, getResourcesStorage, getServerExplorerProviderServices, open, open, setPropertydispose, disposeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServerExplorerProviderServicesexists, getParameters, getResourcePath, getResourcesStorage, getResourcesStorage, getResourcesStoragedisposepublic MultiFileServerExplorer()
public MultiFileServerExplorer(MultiFileServerExplorerParameters parameters, DataServerExplorerProviderServices services) throws InitializeException
parameters - services - InitializeExceptionpublic DataStoreParameters get(java.lang.String string) throws DataException
get in interface DataServerExplorerget in class AbstractDataServerExplorerDataExceptionpublic java.lang.String getDataStoreProviderName()
public java.lang.String getDescription()
public java.util.List<java.lang.String> getDataStoreProviderNames()
DataServerExplorergetDataStoreProviderNames in interface DataServerExplorerpublic java.lang.String getProviderName()
DataServerExplorergetProviderName in interface DataServerExplorerpublic void remove(DataStoreParameters parameters) throws RemoveException
DataServerExplorerremove in interface DataServerExplorerRemoveExceptionpublic boolean add(java.lang.String provider,
NewDataStoreParameters parameters,
boolean overwrite)
throws DataException
DataServerExploreradd in interface DataServerExplorerparameters - , an instance of DataStoreParameters from
DataServerExplorer.getAddParameters(String) that describes the
new DataStore.overwrite - if the store already existsDataExceptionpublic boolean canAdd()
DataServerExplorercanAdd in interface DataServerExplorerpublic boolean canAdd(java.lang.String storeName)
throws DataException
DataServerExplorercanAdd in interface DataServerExplorerstoreName - store name.DataExceptionpublic NewDataStoreParameters getAddParameters(java.lang.String storeName) throws DataException
DataServerExplorergetAddParameters in interface DataServerExplorerDataExceptionpublic java.util.List<DataStoreParameters> list() throws DataException
DataServerExplorerlist in interface DataServerExplorerDataExceptionpublic java.util.List<DataStoreParameters> list(int mode) throws DataException
DataServerExplorerlist in interface DataServerExplorermode - , filter store from a type: DataServerExplorer.MODE_ALL,
DataServerExplorer.MODE_FEATURE, #MODE_FEATURE_GEOMETRY,
DataServerExplorer.MODE_RASTERDataExceptionpublic int getMode()