public class ImageIOStoreProvider extends AbstractAwtRasterStoreProvider implements ResourceConsumer
Modifier and Type | Field and Description |
---|---|
protected ResourceProvider |
resource |
protected java.lang.String |
storeProviderDescription |
protected java.lang.String |
storeProviderName |
envelope
dimensions, LOG
Constructor and Description |
---|
ImageIOStoreProvider(java.lang.String storeProviderName,
java.lang.String storeProviderDescription,
ImageIOStoreProviderParameters params,
DataStoreProviderServices storeServices) |
Modifier and Type | Method and Description |
---|---|
boolean |
closeResourceRequested(ResourceProvider resource) |
protected void |
doDispose()
Internal implementation for the
AbstractDisposable.dispose() method, to be
implemented by child classes. |
DataServerExplorer |
getExplorer()
Create a
DataServerExplorer from the same source that this store. |
java.lang.String |
getFullName()
Returns a more descriptive name for the provider that getName.
|
java.awt.image.BufferedImage |
getImage() |
java.lang.String |
getName()
Returns the name associated to the provider.
|
ImageIOStoreProviderParameters |
getParameters()
Return the parameters of this provider
|
java.lang.String |
getProviderName()
Return the name of the provider.
|
ResourceProvider |
getResource()
Returns the
Resource from where the data is being loaded. |
java.lang.Object |
getSourceId()
Returns the unique identifier of the Store
FIXME add examples
|
protected void |
init(DataStoreParameters params,
DataStoreProviderServices storeServices) |
void |
open()
Open store.
|
void |
resourceChanged(ResourceProvider resource) |
close, createBuffer, createWLDEnvelope, getBands, getDimensions, getDynValue, getRaster, getTileStruct, isOpen, open
autoOpen, clear, createResource, delegate, getBandDescriptor, getBandsDescriptor, getChilds, getDataTypes, getDynClass, getImageLegend, getInterval, getNoData, getNoDatas, getStoreServices, getTimes, getTimes, hasDynMethod, hasDynValue, implement, invokeDynMethod, invokeDynMethod, isTiled, refresh, setDynValue
getChildren, getResourcesStorage, getStoresRepository, setTransaction
dispose, dispose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren, getResourcesStorage, getStoresRepository, setTransaction
dispose
protected java.lang.String storeProviderName
protected java.lang.String storeProviderDescription
protected ResourceProvider resource
public ImageIOStoreProvider(java.lang.String storeProviderName, java.lang.String storeProviderDescription, ImageIOStoreProviderParameters params, DataStoreProviderServices storeServices) throws InitializeException
storeProviderName
- storeProviderDescription
- params
- storeServices
- InitializeException
public java.lang.String getProviderName()
DataStoreProvider
protected void init(DataStoreParameters params, DataStoreProviderServices storeServices) throws InitializeException
init
in class AbstractAwtRasterStoreProvider
InitializeException
public ResourceProvider getResource()
DataStoreProvider
Resource
from where the data is being loaded.Resource
public java.lang.Object getSourceId()
DataStoreProvider
public java.lang.String getName()
DataStoreProvider
public java.lang.String getFullName()
DataStoreProvider
public boolean closeResourceRequested(ResourceProvider resource)
closeResourceRequested
in interface ResourceConsumer
public void resourceChanged(ResourceProvider resource)
resourceChanged
in interface ResourceConsumer
protected void doDispose() throws BaseException
AbstractDisposable
AbstractDisposable.dispose()
method, to be
implemented by child classes.doDispose
in class AbstractAwtRasterStoreProvider
BaseException
AbstractDisposable.dispose()
public ImageIOStoreProviderParameters getParameters()
RasterStoreProvider
getParameters
in interface RasterStoreProvider
getParameters
in class AbstractAwtRasterStoreProvider
public void open() throws OpenException
DataStoreProvider
OpenException
public DataServerExplorer getExplorer() throws ReadException, ValidateDataParametersException
DataStoreProvider
DataServerExplorer
from the same source that this store.ReadException
ValidateDataParametersException
public java.awt.image.BufferedImage getImage()