org.deegree.coverage.raster.io.jai
Class JAIRasterWriter
java.lang.Object
org.deegree.coverage.raster.io.jai.JAIRasterWriter
- All Implemented Interfaces:
- RasterWriter
public class JAIRasterWriter
- extends Object
- implements RasterWriter
- Version:
- $Revision: 31644 $
- Author:
- Oliver Tonnhofer, last edited by: $Author: mschneider $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAIRasterWriter
public JAIRasterWriter()
write
public void write(AbstractRaster raster,
File file,
RasterIOOptions options)
throws IOException
- Description copied from interface:
RasterWriter
- Write the raster into file.
- Specified by:
write
in interface RasterWriter
options
- additional information for the raster writer (format, etc)
- Throws:
IOException
- may be thrown when the file can't be written
write
public void write(AbstractRaster raster,
OutputStream out,
RasterIOOptions options)
throws IOException
- Description copied from interface:
RasterWriter
- Write the raster into strem.
- Specified by:
write
in interface RasterWriter
options
- additional information for the raster writer (format, etc)
- Throws:
IOException
- may be thrown when the file can't be written
canWrite
public boolean canWrite(AbstractRaster raster,
RasterIOOptions options)
- Description copied from interface:
RasterWriter
- Check if the raster writer is able to write the given raster.
- Specified by:
canWrite
in interface RasterWriter
- Returns:
- true if the class can write the raster
getSupportedFormats
public Set<String> getSupportedFormats()
- Specified by:
getSupportedFormats
in interface RasterWriter
- Returns:
- a
Set
of (image) formats mime/types the implementation is able to write.
Copyright © 2011. All Rights Reserved.