public class OGRFilesystemServerProvider extends AbstractFilesystemServerExplorerProvider implements FilesystemServerExplorerProvider, ResourceConsumer
Constructor and Description |
---|
OGRFilesystemServerProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(File pathname) |
boolean |
canCreate() |
boolean |
canCreate(NewDataStoreParameters parameters) |
boolean |
closeResourceRequested(ResourceProvider resource) |
void |
create(NewDataStoreParameters parameters,
boolean overwrite) |
NewDataStoreParameters |
getCreateParameters() |
String |
getDataStoreProviderName() |
String |
getDescription() |
int |
getMode() |
DataStoreParameters |
getParameters(File file) |
void |
initialize(FilesystemServerExplorerProviderServices serverExplorer) |
void |
remove(DataStoreParameters parameters) |
void |
resourceChanged(ResourceProvider resource) |
getResourceRootPathName, isMode, removeFileExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResourceRootPathName, isMode
public String getDataStoreProviderName()
getDataStoreProviderName
in interface FilesystemFileFilter
public int getMode()
getMode
in interface FilesystemServerExplorerProvider
getMode
in class AbstractFilesystemServerExplorerProvider
public boolean accept(File pathname)
accept
in interface FileFilter
public String getDescription()
getDescription
in interface FilesystemFileFilter
public DataStoreParameters getParameters(File file) throws DataException
DataException
public boolean canCreate()
canCreate
in interface FilesystemServerExplorerProvider
public boolean canCreate(NewDataStoreParameters parameters)
canCreate
in interface FilesystemServerExplorerProvider
public void create(NewDataStoreParameters parameters, boolean overwrite) throws CreateException
create
in interface FilesystemServerExplorerProvider
CreateException
public NewDataStoreParameters getCreateParameters() throws DataException
getCreateParameters
in interface FilesystemServerExplorerProvider
DataException
public void initialize(FilesystemServerExplorerProviderServices serverExplorer)
initialize
in interface FilesystemServerExplorerProvider
public void remove(DataStoreParameters parameters) throws RemoveException
remove
in interface FilesystemServerExplorerProvider
RemoveException
public boolean closeResourceRequested(ResourceProvider resource)
closeResourceRequested
in interface ResourceConsumer
public void resourceChanged(ResourceProvider resource)
resourceChanged
in interface ResourceConsumer