|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RasterWriter
This interface is for abstraction of the raster writing handling.
Method Summary | |
---|---|
boolean |
canWrite(AbstractRaster raster,
RasterIOOptions options)
Check if the raster writer is able to write the given raster. |
java.util.Set<java.lang.String> |
getSupportedFormats()
|
void |
write(AbstractRaster raster,
java.io.File file,
RasterIOOptions options)
Write the raster into file. |
void |
write(AbstractRaster raster,
java.io.OutputStream out,
RasterIOOptions options)
Write the raster into strem. |
Method Detail |
---|
void write(AbstractRaster raster, java.io.File file, RasterIOOptions options) throws java.io.IOException
raster
- file
- options
- additional information for the raster writer (format, etc)
java.io.IOException
- may be thrown when the file can't be writtenvoid write(AbstractRaster raster, java.io.OutputStream out, RasterIOOptions options) throws java.io.IOException
raster
- out
- options
- additional information for the raster writer (format, etc)
java.io.IOException
- may be thrown when the file can't be writtenboolean canWrite(AbstractRaster raster, RasterIOOptions options)
raster
- options
-
java.util.Set<java.lang.String> getSupportedFormats()
Set
of (image) formats mime/types the implementation is able to write.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |