public class ImageIOFileSystemServerProvider extends AbstractFilesystemServerExplorerProvider
Modifier and Type | Field and Description |
---|---|
protected boolean |
canCreate |
protected java.lang.String[] |
fileExtensions |
protected FilesystemServerExplorerProviderServices |
serverExplorer |
LOGGER
Constructor and Description |
---|
ImageIOFileSystemServerProvider(FilesystemServerExplorerProviderFactory factory,
java.lang.String name,
java.lang.String description,
java.lang.String[] fileExtensions) |
ImageIOFileSystemServerProvider(FilesystemServerExplorerProviderFactory factory,
java.lang.String name,
java.lang.String description,
java.lang.String[] fileExtensions,
boolean canCreate) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File pathname) |
boolean |
canCreate() |
void |
create(NewDataStoreParameters parameters,
boolean overwrite) |
NewDataStoreParameters |
getCreateParameters() |
int |
getMode() |
canCreate, closeResourceRequested, getDataStoreProviderName, getDescription, getFactory, getName, getParameters, getResourceRootPathName, getResourceRootPathName, initialize, isMode, remove, removeFileExtension, resourceChanged
protected FilesystemServerExplorerProviderServices serverExplorer
protected java.lang.String[] fileExtensions
protected boolean canCreate
public ImageIOFileSystemServerProvider(FilesystemServerExplorerProviderFactory factory, java.lang.String name, java.lang.String description, java.lang.String[] fileExtensions)
public ImageIOFileSystemServerProvider(FilesystemServerExplorerProviderFactory factory, java.lang.String name, java.lang.String description, java.lang.String[] fileExtensions, boolean canCreate)
public boolean canCreate()
canCreate
in interface FilesystemServerExplorerProvider
canCreate
in class AbstractFilesystemServerExplorerProvider
public NewDataStoreParameters getCreateParameters() throws DataException
getCreateParameters
in interface FilesystemServerExplorerProvider
getCreateParameters
in class AbstractFilesystemServerExplorerProvider
DataException
public void create(NewDataStoreParameters parameters, boolean overwrite) throws CreateException
create
in interface FilesystemServerExplorerProvider
create
in class AbstractFilesystemServerExplorerProvider
CreateException
public int getMode()
getMode
in interface FilesystemServerExplorerProvider
getMode
in class AbstractFilesystemServerExplorerProvider
public boolean accept(java.io.File pathname)