| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.coverage.raster.io.WorldFileAccess
public class WorldFileAccess
Class representation of a ESRI world file. A world file may defines bounding coordinates centered on the outer pixel
 (e.g. ESRI software) or outside the bounding pixels (e.g.Oracle spatial). Reading a worldfile this must be considered
 so the type of a worldfile must be passed. For this a enum named TYPE ist defined.
| Constructor Summary | |
|---|---|
WorldFileAccess()
 | 
|
| Method Summary | |
|---|---|
static RasterGeoReference | 
readWorldFile(File filename,
              RasterIOOptions options)
 | 
static RasterGeoReference | 
readWorldFile(InputStream stream,
              RasterIOOptions options)
 | 
static RasterGeoReference | 
readWorldFile(Reader reader,
              RasterIOOptions options)
 | 
static void | 
writeWorldFile(RasterGeoReference renv,
               File file)
writes a RasterReference into a world file (with .wld extension).  | 
static void | 
writeWorldFile(RasterGeoReference renv,
               File file,
               String extension)
writes a RasterReference into a world file.  | 
static void | 
writeWorldFile(RasterGeoReference renv,
               PrintWriter writer)
writes a RasterReference into a world file.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public WorldFileAccess()
| Method Detail | 
|---|
public static RasterGeoReference readWorldFile(InputStream stream,
                                               RasterIOOptions options)
                                        throws IOException
stream - the stream pointing to a world file.options - set for this stream.
IOException
public static RasterGeoReference readWorldFile(Reader reader,
                                               RasterIOOptions options)
                                        throws IOException
reader - to a world file.options - set for this stream.
IOException
public static RasterGeoReference readWorldFile(File filename,
                                               RasterIOOptions options)
                                        throws IOException
filename - the image/raster file (including path and file extension)options - set for this file.
IOException
public static void writeWorldFile(RasterGeoReference renv,
                                  File file)
                           throws IOException
renv - the envelopefile - the raster file
IOException
public static void writeWorldFile(RasterGeoReference renv,
                                  File file,
                                  String extension)
                           throws IOException
renv - the envelopefile - the raster fileextension - the file extension for the world file (eg. 'wld', 'tfw', etc)
IOException
public static void writeWorldFile(RasterGeoReference renv,
                                  PrintWriter writer)
                           throws IOException
renv - the envelopewriter - to write the worldfile to.
IOException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||