|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.coverage.raster.data.container.LazyRasterDataContainer
public class LazyRasterDataContainer
This class implements a RasterDataContainer that loads the data on first access.
| Constructor Summary | |
|---|---|
LazyRasterDataContainer()
Creates an empty LazyRasterDataContainer that loads the raster on demand and stores the raster data in memory. |
|
LazyRasterDataContainer(RasterDataReader reader)
Creates a RasterDataContainer that loads the data on first access. |
|
| Method Summary | |
|---|---|
int |
getColumns()
Returns the columns / width in pixel of the raster |
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()
Returns the rows / height in pixel of the raster |
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 LazyRasterDataContainer()
public LazyRasterDataContainer(RasterDataReader reader)
reader - RasterReader for the raster source| Method Detail |
|---|
public RasterData getRasterData()
RasterDataContainer
getRasterData in interface RasterDataContainerpublic RasterData getReadOnlyRasterData()
RasterDataContainer
getReadOnlyRasterData in interface RasterDataContainerpublic int getColumns()
RasterDataContainer
getColumns in interface RasterDataContainerpublic int getRows()
RasterDataContainer
getRows in interface RasterDataContainerpublic void setRasterDataReader(RasterDataReader reader)
RasterDataContainer
setRasterDataReader in interface RasterDataContainerreader - the raster data reader for this containerpublic RasterDataContainer getRasterDataContainer(RasterDataContainerFactory.LoadingPolicy type)
RasterDataContainerProvider
getRasterDataContainer in interface RasterDataContainerProvider
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||