|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.coverage.raster.io.xyz.XYZWriter
public class XYZWriter
The XYZWriter
writes xyz, separated text files. The separator can be defined in the RasterIOOptions, by
supplying a value with the key XYZRasterIOProvider.XYZ_SEPARATOR
, if failing, the 'space' character will be
used.
Constructor Summary | |
---|---|
XYZWriter()
|
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 XYZWriter()
Method Detail |
---|
public boolean canWrite(AbstractRaster raster, RasterIOOptions options)
RasterWriter
canWrite
in interface RasterWriter
public Set<String> getSupportedFormats()
getSupportedFormats
in interface RasterWriter
Set
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 RasterWriter
options
- additional information for the raster writer (format, etc)
IOException
- may be thrown when the file can't be writtenpublic void write(AbstractRaster raster, OutputStream out, RasterIOOptions options) throws IOException
RasterWriter
write
in interface RasterWriter
options
- 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 |