Interface DataRasterWriter

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean canWrite​(DataRaster raster, java.lang.String formatSuffix, java.io.File file)
      Checks if a data raster could be written to a File the given format.
      void write​(DataRaster raster, java.lang.String formatSuffix, java.io.File file)
      Writes an data raster to a File in the given format.
    • Method Detail

      • canWrite

        boolean canWrite​(DataRaster raster,
                         java.lang.String formatSuffix,
                         java.io.File file)
        Checks if a data raster could be written to a File the given format.
        Parameters:
        raster - a data raster to be written to a File in the given format.
        formatSuffix - a String containing the format suffix
        file - a File to be written to
        Returns:
        TRUE, if a data raster could be written to the File
      • write

        void write​(DataRaster raster,
                   java.lang.String formatSuffix,
                   java.io.File file)
            throws java.io.IOException
        Writes an data raster to a File in the given format. If there is already a File present, its contents are discarded.
        Parameters:
        raster - a data raster to be written
        formatSuffix - a String containing the format suffix
        file - a File to be written to
        Throws:
        java.io.IOException - if any parameter is null or invalid