|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.coverage.raster.io.imageio.IIORasterReader
public class IIORasterReader
| Constructor Summary | |
|---|---|
IIORasterReader()
|
|
| Method Summary | |
|---|---|
boolean |
canLoad(java.io.File filename)
Check if the raster reader is able to read the given raster file. |
boolean |
canReadTiles()
should return true if the given reader can easily read tiles,without consuming much more memory than needed. |
void |
dispose()
Signals the reader that it should try to dispose all in memory data. |
java.io.File |
file()
|
java.lang.String |
getDataLocationId()
|
RasterGeoReference |
getGeoReference()
|
int |
getHeight()
|
RasterDataInfo |
getRasterDataInfo()
|
java.util.Set<java.lang.String> |
getSupportedFormats()
|
int |
getWidth()
|
AbstractRaster |
load(java.io.File file,
RasterIOOptions options)
Read the given raster file into an abstract raster. |
AbstractRaster |
load(java.io.InputStream stream,
RasterIOOptions options)
Read the given input stream into an abstract raster. |
BufferResult |
read(RasterRect rect,
java.nio.ByteBuffer buffer)
|
boolean |
shouldCreateCacheFile()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IIORasterReader()
| Method Detail |
|---|
public boolean canLoad(java.io.File filename)
RasterReader
canLoad in interface RasterReader
public AbstractRaster load(java.io.File file,
RasterIOOptions options)
throws java.io.IOException
RasterReader
load in interface RasterReaderjava.io.IOException - may be thrown when there is a problem with reading the raster.
public AbstractRaster load(java.io.InputStream stream,
RasterIOOptions options)
throws java.io.IOException
RasterReader
load in interface RasterReaderjava.io.IOException - may be thrown when there is a problem with reading the raster.public java.util.Set<java.lang.String> getSupportedFormats()
getSupportedFormats in interface RasterReaderSet of (image) formats mime/types the implementation is able to read.public java.io.File file()
file in interface RasterReaderpublic boolean shouldCreateCacheFile()
shouldCreateCacheFile in interface RasterReaderpublic RasterGeoReference getGeoReference()
getGeoReference in interface RasterReaderpublic int getHeight()
getHeight in interface RasterReaderpublic int getWidth()
getWidth in interface RasterReader
public BufferResult read(RasterRect rect,
java.nio.ByteBuffer buffer)
throws java.io.IOException
read in interface RasterReaderrect - to read.buffer - to store the result in
java.io.IOExceptionpublic RasterDataInfo getRasterDataInfo()
getRasterDataInfo in interface RasterReaderpublic boolean canReadTiles()
RasterReader
canReadTiles in interface RasterReaderpublic java.lang.String getDataLocationId()
getDataLocationId in interface RasterReaderpublic void dispose()
RasterReader
dispose in interface RasterReader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||