public abstract class AbstractFileRasterStoreProvider extends AbstractRasterStoreProvider implements ResourceConsumer
Modifier and Type | Field and Description |
---|---|
protected Envelope |
envelope |
protected java.util.List<PageManager> |
pageManagers |
protected PRJFile |
prjFile |
protected IProjection |
projection |
protected ResourceProvider |
resource |
protected java.lang.String |
storeProviderDescription |
protected java.lang.String |
storeProviderName |
protected STXFile |
stxFile |
protected TileStruct |
tileStruct |
protected WLDFile |
wldFile |
dimensions, LOG
Constructor and Description |
---|
AbstractFileRasterStoreProvider(java.lang.String storeProviderName,
java.lang.String storeProviderDescription,
OpenRasterStoreParameters params,
DataStoreProviderServices storeServices) |
Modifier and Type | Method and Description |
---|---|
boolean |
closeResourceRequested(ResourceProvider resource) |
Buffer |
createBuffer(RasterQuery rasterQuery) |
protected void |
doDispose()
Internal implementation for the
AbstractDisposable.dispose() method, to be
implemented by child classes. |
abstract int |
getBands()
Gets bands of raster provider source
|
abstract int |
getColumns() |
BufferDimensions |
getDimensions()
Return the buffer dimensions of the complete store.
|
java.lang.Object |
getDynValue(java.lang.String name) |
protected Envelope |
getEnvelope() |
DataServerExplorer |
getExplorer()
Create a
DataServerExplorer from the same source that this store. |
protected java.io.File |
getFile() |
java.lang.String |
getFullName()
Returns a more descriptive name for the provider that getName.
|
java.lang.String |
getName()
Returns the name associated to the provider.
|
protected java.util.List<PageManager> |
getPageManagers() |
protected IProjection |
getProjection() |
java.lang.String |
getProviderName()
Return the name of the provider.
|
ResourceProvider |
getResource()
Returns the
Resource from where the data is being loaded. |
abstract int |
getRows() |
java.lang.Object |
getSourceId()
Returns the unique identifier of the Store
FIXME add examples
|
TileStruct |
getTileStruct()
Return the appropriate TileStruct for a tiled access to this provider, if can.
|
protected void |
init(OpenRasterStoreParameters params,
DataStoreProviderServices storeServices) |
abstract void |
open()
Open store.
|
void |
resourceChanged(ResourceProvider resource) |
void |
setDynValue(java.lang.String name,
java.lang.Object value) |
autoOpen, clear, close, createResource, delegate, getBandDescriptor, getBandsDescriptor, getChilds, getDataTypes, getDynClass, getImageLegend, getInterval, getNoData, getNoDatas, getParameters, getStoreServices, getTimes, getTimes, hasDynMethod, hasDynValue, implement, invokeDynMethod, invokeDynMethod, isTiled, refresh
getChildren, getResourcesStorage, getStoresRepository, setTransaction
dispose, dispose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren, getResourcesStorage, getStoresRepository, setTransaction
dispose
protected Envelope envelope
protected IProjection projection
protected java.util.List<PageManager> pageManagers
protected TileStruct tileStruct
protected java.lang.String storeProviderName
protected java.lang.String storeProviderDescription
protected ResourceProvider resource
protected WLDFile wldFile
protected PRJFile prjFile
protected STXFile stxFile
public AbstractFileRasterStoreProvider(java.lang.String storeProviderName, java.lang.String storeProviderDescription, OpenRasterStoreParameters params, DataStoreProviderServices storeServices) throws InitializeException
InitializeException
protected void init(OpenRasterStoreParameters params, DataStoreProviderServices storeServices) throws InitializeException
InitializeException
public ResourceProvider getResource()
DataStoreProvider
Resource
from where the data is being loaded.Resource
protected java.io.File getFile()
public java.lang.Object getSourceId()
DataStoreProvider
public java.lang.String getName()
DataStoreProvider
public java.lang.String getFullName()
DataStoreProvider
public java.lang.String getProviderName()
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 AbstractRasterStoreProvider
BaseException
AbstractDisposable.dispose()
public DataServerExplorer getExplorer() throws ReadException, ValidateDataParametersException
DataStoreProvider
DataServerExplorer
from the same source that this store.ReadException
ValidateDataParametersException
public BufferDimensions getDimensions()
RasterStoreProvider
getDimensions
in interface RasterStoreProvider
public TileStruct getTileStruct()
RasterStoreProvider
getTileStruct
in interface RasterStoreProvider
getTileStruct
in class AbstractRasterStoreProvider
public java.lang.Object getDynValue(java.lang.String name) throws DynFieldNotFoundException
getDynValue
in interface DynObject
getDynValue
in class AbstractRasterStoreProvider
DynFieldNotFoundException
public void setDynValue(java.lang.String name, java.lang.Object value) throws DynFieldNotFoundException
setDynValue
in interface DynObject
setDynValue
in class AbstractRasterStoreProvider
DynFieldNotFoundException
protected java.util.List<PageManager> getPageManagers()
protected IProjection getProjection()
protected Envelope getEnvelope()
public Buffer createBuffer(RasterQuery rasterQuery) throws BufferException
createBuffer
in interface RasterStoreProvider
BufferException
public abstract void open() throws OpenException
DataStoreProvider
OpenException
public abstract int getBands()
RasterStoreProvider
getBands
in interface RasterStoreProvider
public abstract int getRows()
public abstract int getColumns()