Constructor and Description |
---|
BasicImageInfo() |
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Gets the image height.
|
String |
getIdentifier()
Gets the image identifier.
|
InputStream |
getImage()
Gets the image content.
|
int |
getWidth()
Gets the image width.
|
void |
setHeight(int height)
Sets the height.
|
void |
setIdentifier(String identifier)
Sets the identifier.
|
void |
setWidth(int width)
Sets the width.
|
public int getHeight()
ImageInfo
public String getIdentifier()
ImageInfo
The format of the returned string is implementation specific.
getIdentifier
in interface ImageInfo
public InputStream getImage() throws IOException
ImageInfo
getImage
in interface ImageInfo
IOException
- if an I/O error occurs.public int getWidth()
ImageInfo
public void setHeight(int height)
height
- the height to set.public void setIdentifier(String identifier)
identifier
- the identifier to set.public void setWidth(int width)
width
- the width to set.