public abstract class AbstractRasterStoreProvider extends AbstractDataStoreProvider implements RasterStoreProvider
| Modifier and Type | Field and Description |
|---|---|
protected BufferDimensions |
dimensions |
protected static Logger |
LOG |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRasterStoreProvider(DataStoreParameters params,
DataStoreProviderServices storeServices,
DynObject metadata) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
autoOpen() |
void |
clear() |
void |
close()
do nothing by default, override this otherwise
|
protected ResourceProvider |
createResource(java.lang.String type,
java.lang.Object[] params)
|
void |
delegate(DynObject dynObject) |
protected void |
doDispose()
Internal implementation for the
AbstractDisposable.dispose() method, to be
implemented by child classes. |
BandDescriptorServices |
getBandDescriptor(int band)
Gets
BandDescriptor of band received as parameter. |
java.util.List<BandDescriptor> |
getBandsDescriptor() |
java.util.Iterator<?> |
getChilds()
unsupported by default (return null), override this otherwise
|
int[] |
getDataTypes() |
DynClass |
getDynClass() |
java.lang.Object |
getDynValue(java.lang.String name) |
java.awt.Image |
getImageLegend() |
Interval |
getInterval()
Gets the
Interval of the store, that means the temporal
interval where the store has valid data. |
NoData |
getNoData(RasterQuery rasterQuery,
int band) |
NoData[] |
getNoDatas() |
DataStoreParameters |
getParameters()
Return the parameters of this provider
|
RasterStoreProviderServices |
getStoreServices()
(non-Javadoc)
|
TileStruct |
getTileStruct()
Return the appropriate TileStruct for a tiled access to this provider, if can.
|
java.util.Collection<?> |
getTimes()
Gets all the possible values of time for which the store has data.
|
java.util.Collection<?> |
getTimes(Interval interval)
Gets all the possible values of time for which the store has data
and intersects with an interval.
|
boolean |
hasDynMethod(java.lang.String name) |
boolean |
hasDynValue(java.lang.String name) |
void |
implement(DynClass dynClass) |
java.lang.Object |
invokeDynMethod(int code,
java.lang.Object[] args) |
java.lang.Object |
invokeDynMethod(java.lang.String name,
java.lang.Object[] args) |
boolean |
isTiled() |
void |
refresh()
do nothing by default, override this otherwise
|
void |
setDynValue(java.lang.String name,
java.lang.Object value) |
getChildren, getResourcesStorage, getStoresRepository, setTransactiondispose, disposeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateBuffer, getBands, getDimensionsgetChildren, getExplorer, getFullName, getName, getProviderName, getResource, getResourcesStorage, getSourceId, getStoresRepository, open, setTransactiondisposeprotected static final Logger LOG
protected BufferDimensions dimensions
protected AbstractRasterStoreProvider(DataStoreParameters params, DataStoreProviderServices storeServices, DynObject metadata)
public DataStoreParameters getParameters()
RasterStoreProvidergetParameters in interface RasterStoreProviderprotected ResourceProvider createResource(java.lang.String type, java.lang.Object[] params) throws InitializeException
type - params - InitializeExceptionpublic java.util.Iterator<?> getChilds()
org.gvsig.fmap.dal.spi.DataStoreProvider#getChilds()public RasterStoreProviderServices getStoreServices()
org.gvsig.fmap.dal.feature.spi.RasterStoreProvider#getStoreServices()public void close()
throws CloseException
CloseExceptionDataStoreProvider.close()public void refresh()
throws OpenException
OpenExceptionDataStoreProvider.refresh()public Interval getInterval()
DataStoreProviderInterval of the store, that means the temporal
interval where the store has valid data.public java.util.Collection<?> getTimes()
DataStoreProviderTime objects.public java.util.Collection<?> getTimes(Interval interval)
DataStoreProviderinterval - the interval of timeTime objects.public DynClass getDynClass()
getDynClass in interface DynObjectpublic java.lang.Object getDynValue(java.lang.String name)
throws DynFieldNotFoundException
getDynValue in interface DynObjectDynFieldNotFoundExceptionpublic void setDynValue(java.lang.String name,
java.lang.Object value)
throws DynFieldNotFoundException
setDynValue in interface DynObjectDynFieldNotFoundExceptionpublic boolean hasDynValue(java.lang.String name)
hasDynValue in interface DynObjectpublic java.lang.Object invokeDynMethod(int code,
java.lang.Object[] args)
throws DynMethodException
invokeDynMethod in interface DynObjectDynMethodExceptionpublic java.lang.Object invokeDynMethod(java.lang.String name,
java.lang.Object[] args)
throws DynMethodException
invokeDynMethod in interface DynObjectDynMethodExceptionprotected void doDispose()
throws BaseException
AbstractDisposableAbstractDisposable.dispose() method, to be
implemented by child classes.doDispose in class AbstractDisposableBaseExceptionAbstractDisposable.dispose()public TileStruct getTileStruct()
RasterStoreProvidergetTileStruct in interface RasterStoreProviderprotected void autoOpen()
public java.awt.Image getImageLegend()
getImageLegend in interface RasterStoreProviderpublic java.util.List<BandDescriptor> getBandsDescriptor()
public BandDescriptorServices getBandDescriptor(int band)
RasterStoreProviderBandDescriptor of band received as parameter. If band does
not have BandAttributeDescriptor, this method will return an
empty BandDescriptor.getBandDescriptor in interface RasterStoreProviderband - Band to get its BandDescriptorpublic NoData getNoData(RasterQuery rasterQuery, int band)
public NoData[] getNoDatas()
public int[] getDataTypes()
public boolean isTiled()
isTiled in interface RasterStoreProviderpublic boolean hasDynMethod(java.lang.String name)
hasDynMethod in interface DynObject_v2