deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.coverage.raster.data.container
Interface RasterDataContainer

All Known Implementing Classes:
CachedRasterDataContainer, LazyRasterDataContainer, MemoryRasterDataContainer

public interface RasterDataContainer

This interface is for abstraction of RasterData providers. Implementations of this interface can control the loading and unloading of the raster data (i.e. caching, etc).

Version:
$Revision: 20732 $, $Date: 2009-11-11 16:52:11 +0100 (Mi, 11 Nov 2009) $
Author:
Oliver Tonnhofer, last edited by: $Author: rbezema $

Method Summary
 int getColumns()
          Returns the columns / width in pixel of the raster
 RasterData getRasterData()
          Returns the RasterData
 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.
 

Method Detail

setRasterDataReader

void setRasterDataReader(RasterDataReader reader)
Sets the source of the raster data.

Parameters:
reader - the raster data reader for this container

getRasterData

RasterData getRasterData()
Returns the RasterData

Returns:
RasterData

getReadOnlyRasterData

RasterData getReadOnlyRasterData()
Returns the RasterData as a read-only copy. Only a read-only RasterData supports thread-safe read operations.

Returns:
RasterData

getColumns

int getColumns()
Returns the columns / width in pixel of the raster

Returns:
columns of the raster

getRows

int getRows()
Returns the rows / height in pixel of the raster

Returns:
rows of the raster

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>