|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.coverage.raster.data.container.MemoryRasterDataContainer
public class MemoryRasterDataContainer
This class implements a RasterDataContainer that keeps RasterData in memory.
Constructor Summary | |
---|---|
MemoryRasterDataContainer()
Creates an empty RasterDataContainer that stores the raster data in memory. |
|
MemoryRasterDataContainer(RasterData raster)
Wraps RasterData in a RasterDataContainer. |
|
MemoryRasterDataContainer(RasterDataReader reader)
Reads RasterData from RasterReader and wraps it in a RasterDataContainer. |
Method Summary | |
---|---|
int |
getColumns()
|
RasterData |
getRasterData()
Returns the RasterData |
RasterDataContainer |
getRasterDataContainer(RasterDataContainerFactory.LoadingPolicy type)
Returns a new RasterDataContainer for given type or null, if the implementation doesn't provide this type. |
RasterData |
getReadOnlyRasterData()
Returns the RasterData as a read-only copy. |
int |
getRows()
|
void |
setRasterDataReader(RasterDataReader reader)
Sets the source of the raster data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemoryRasterDataContainer()
public MemoryRasterDataContainer(RasterDataReader reader)
reader
- RasterReader for RasterDatapublic MemoryRasterDataContainer(RasterData raster)
raster
- RasterData to wrapMethod Detail |
---|
public int getColumns()
public int getRows()
public RasterData getRasterData()
RasterDataContainer
getRasterData
in interface RasterDataContainer
public RasterData getReadOnlyRasterData()
RasterDataContainer
getReadOnlyRasterData
in interface RasterDataContainer
public void setRasterDataReader(RasterDataReader reader)
RasterDataContainer
setRasterDataReader
in interface RasterDataContainer
reader
- the raster data reader for this containerpublic RasterDataContainer getRasterDataContainer(RasterDataContainerFactory.LoadingPolicy type)
RasterDataContainerProvider
getRasterDataContainer
in interface RasterDataContainerProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |