| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.io.ecwapi.ECWReader
public class ECWReader
ECWReader.java
| Constructor Summary | |
|---|---|
ECWReader(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  | 
 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(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 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.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| 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