|
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.io.imageio.IIORasterDataReader
public class IIORasterDataReader
Constructor Summary | |
---|---|
IIORasterDataReader(File file,
RasterIOOptions options)
Create a IIORasterDataReader for given file |
|
IIORasterDataReader(InputStream stream,
RasterIOOptions options)
Create a IIORasterDataReader for given stream |
Method Summary | |
---|---|
void |
close()
Removes the internal references to the loaded raster to allow garbage collection of the raster. |
void |
dispose()
|
protected File |
file()
needed by the raster reader, |
int |
getHeight()
Returns the height of the raster associated with the reader |
protected IIOMetadata |
getMetaData()
|
RasterDataInfo |
getRasterDataInfo()
|
boolean |
getReadTiles()
|
int |
getWidth()
Returns the height of the raster associated with the reader |
ByteBufferRasterData |
read()
Reads data and returns a new RasterData object |
BufferResult |
read(RasterRect rect,
ByteBuffer resultBuffer)
|
(package private) boolean |
shouldCreateCacheFile()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IIORasterDataReader(File file, RasterIOOptions options)
file
- file to readoptions
- with values.public IIORasterDataReader(InputStream stream, RasterIOOptions options)
stream
- stream to readoptions
- with valuesMethod Detail |
---|
public ByteBufferRasterData read()
read
in interface RasterDataReader
public int getWidth()
getWidth
in interface RasterDataReader
public int getHeight()
getHeight
in interface RasterDataReader
protected IIOMetadata getMetaData()
public RasterDataInfo getRasterDataInfo()
public void close()
close
in interface RasterDataReader
protected File file()
boolean shouldCreateCacheFile()
public BufferResult read(RasterRect rect, ByteBuffer resultBuffer)
rect
- resultBuffer
-
public boolean getReadTiles()
public void dispose()
|
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 |