|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.io.ecwapi.ECWReader
public class ECWReader
ECWReader.java
Constructor Summary | |
---|---|
ECWReader(java.lang.String fileName)
read part from ECW-file which falls within env and return this part dimenions width and height |
Method Summary | |
---|---|
void |
close()
Free the memory of the image cache |
java.awt.image.BufferedImage |
getBufferedImage(Envelope env,
int width,
int height)
read part from ECW-file which falls within env and return this part as BufferedImage with dimenions width and height |
int |
getHeight()
retuns the height of the entire image encapsulated in the ECW file |
int |
getWidth()
retuns the width of the entire image encapsulated in the ECW file |
static void |
useECWCache(boolean Use)
Decide, if to use the cache. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ECWReader(java.lang.String fileName) throws com.ermapper.ecw.JNCSException
fileName
- full pathname of the ECW-file
com.ermapper.ecw.JNCSException
Method Detail |
---|
public static void useECWCache(boolean Use)
Default is TRUE.
public void close()
public int getWidth()
public int getHeight()
public java.awt.image.BufferedImage getBufferedImage(Envelope env, int width, int height) throws com.ermapper.ecw.JNCSException
env
- bounding box in world coordinates of requested partwidth
- width of the returned imageheight
- height of the returned image
com.ermapper.ecw.JNCSException
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org