Interface ImageSource<T>

    • Method Detail

      • read

        java.awt.image.BufferedImage read()
                                   throws java.io.IOException
        Retrieves the image from the source.
        Returns:
        The image.
        Throws:
        java.io.IOException - When a problem occurs while reading or obtaining the image.
      • getInputFormatName

        java.lang.String getInputFormatName()
        Returns the name of the image format.
        Returns:
        The image format name. If there is no image format information, then null will be returned.
        Throws:
        java.lang.IllegalStateException - If the source image has not been read yet.
      • getSource

        T getSource()
        Returns the source from which the image is read or retrieved.
        Returns:
        The source of the image.