Class ImageHolder


  • public class ImageHolder
    extends Object
    Class to hold image and its metadata
    • Constructor Detail

      • ImageHolder

        public ImageHolder​(BufferedImage image,
                           IIOMetadata metadata)
        Default constructor
        Parameters:
        image -
        metadata -
    • Method Detail

      • getImage

        public BufferedImage getImage()
        Getter method for image
        Returns:
        image
      • setImage

        public void setImage​(BufferedImage image)
        Setter method for image
        Parameters:
        image - Value for image to be set
      • getMetadata

        public IIOMetadata getMetadata()
        Getter method for metadata
        Returns:
        metadata
      • setMetadata

        public void setMetadata​(IIOMetadata metadata)
        Setter method for metadata
        Parameters:
        metadata - Value for metadata to be set