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: 31644 $, $Date: 2011-08-24 22:27:43 +0200 (Wed, 24 Aug 2011) $
Author:
Oliver Tonnhofer, last edited by: $Author: mschneider $

Method Summary
 RasterData getRasterData()
          Returns the RasterData
 RasterData getReadOnlyRasterData()
          Returns the RasterData as a read-only copy.
 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


Copyright © 2011. All Rights Reserved.