Package com.openstego.desktop.util
Class ImageHolder
- java.lang.Object
-
- com.openstego.desktop.util.ImageHolder
-
public class ImageHolder extends Object
Class to hold image and its metadata
-
-
Constructor Summary
Constructors Constructor Description ImageHolder(BufferedImage image, IIOMetadata metadata)
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BufferedImage
getImage()
Getter method for imageIIOMetadata
getMetadata()
Getter method for metadatavoid
setImage(BufferedImage image)
Setter method for imagevoid
setMetadata(IIOMetadata metadata)
Setter method for metadata
-
-
-
Constructor Detail
-
ImageHolder
public ImageHolder(BufferedImage image, IIOMetadata metadata)
Default constructor- Parameters:
image
- Imagemetadata
- 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
-
-