|
||||||||||
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. |
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. |
Method Detail |
---|
void write(AbstractRaster raster, File file, RasterIOOptions options) throws IOException
raster
- file
- options
- additional information for the raster writer (format, etc)
IOException
- may be thrown when the file can't be writtenvoid write(AbstractRaster raster, OutputStream out, RasterIOOptions options) throws IOException
raster
- out
- options
- additional information for the raster writer (format, etc)
IOException
- may be thrown when the file can't be writtenboolean canWrite(AbstractRaster raster, RasterIOOptions options)
raster
- options
-
Set<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 |