| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.coverage.raster.io.asc.ASCWriter
public class ASCWriter
Writes esri asc/grd text files. The separator can be defined in the RasterIOOptions, by supplying a value with the
 key RasterIOOptions.OPT_TEXT_SEPARATOR, if failing, the 'space' character will be used.
| Constructor Summary | |
|---|---|
ASCWriter()
 | 
|
| Method Summary | |
|---|---|
 boolean | 
canWrite(AbstractRaster raster,
         RasterIOOptions options)
Check if the raster writer is able to write the given raster.  | 
 Set<String> | 
getSupportedFormats()
 | 
 void | 
write(AbstractRaster raster,
      File file,
      RasterIOOptions options)
Write the raster into file.  | 
 void | 
write(AbstractRaster raster,
      OutputStream out,
      RasterIOOptions options)
Write the raster into strem.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ASCWriter()
| Method Detail | 
|---|
public boolean canWrite(AbstractRaster raster,
                        RasterIOOptions options)
RasterWriter
canWrite in interface RasterWriterpublic Set<String> getSupportedFormats()
getSupportedFormats in interface RasterWriterSet of (image) formats mime/types the implementation is able to write.
public void write(AbstractRaster raster,
                  File file,
                  RasterIOOptions options)
           throws IOException
RasterWriter
write in interface RasterWriteroptions - additional information for the raster writer (format, etc)
IOException - may be thrown when the file can't be written
public void write(AbstractRaster raster,
                  OutputStream out,
                  RasterIOOptions options)
           throws IOException
RasterWriter
write in interface RasterWriteroptions - additional information for the raster writer (format, etc)
IOException - may be thrown when the file can't be written
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||