Class ImagePyramidFormat

  • All Implemented Interfaces:
    Format

    public final class ImagePyramidFormat
    extends AbstractGridFormat
    implements Format
    This class implements the basic format capabilities for a coverage format.
    Author:
    Simone Giannecchini (simboss), Stefan Alfons Krueger (alfonx), Wikisquare.de : Support for jar:file:foo.jar/bar.properties like URLs
    • Constructor Detail

      • ImagePyramidFormat

        public ImagePyramidFormat()
        Creates an instance and sets the metadata.
    • Method Detail

      • accepts

        public boolean accepts​(Object source,
                               Hints hints)
        Description copied from class: AbstractGridFormat
        Tells me if this Format can read the provided input.
        Specified by:
        accepts in class AbstractGridFormat
        Parameters:
        source - The input object to test for suitability.
        hints - Hints to control the accepts internal machinery.
        Returns:
        True if this format can read this object, False otherwise.
        See Also:
        org.geotools.data.coverage.grid.AbstractGridFormat#accepts(Object input)
      • getReader

        public ImagePyramidReader getReader​(Object source,
                                            Hints hints)
        Retrieves a reader for this source object in case the provided source can be read using this plugin.
        Specified by:
        getReader in class AbstractGridFormat
        Parameters:
        source - Object
        hints - Hints to control the reader behaviour.
        Returns:
        An ImagePyramidReader if the provided object can be read using this plugin or null.
      • getWriter

        public GridCoverageWriter getWriter​(Object destination,
                                            Hints hints)
        Description copied from class: AbstractGridFormat
        Call the accepts() method before asking for a writer to determine if the current object is supported.
        Specified by:
        getWriter in class AbstractGridFormat
        Parameters:
        destination - the destination object to write a WorldImage to
        hints - Hints to control the internal machinery.
        Returns:
        a new WorldImageWriter for the destination