public class SimpleImageInfo
extends java.lang.Object
Constructor and Description |
---|
SimpleImageInfo(byte[] bytes) |
SimpleImageInfo(java.io.InputStream is) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
java.lang.String |
getMimeType() |
int |
getWidth() |
void |
setHeight(int height) |
void |
setMimeType(java.lang.String mimeType) |
void |
setWidth(int width) |
java.lang.String |
toString() |
public SimpleImageInfo(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public SimpleImageInfo(byte[] bytes) throws java.io.IOException
java.io.IOException
public int getHeight()
public void setHeight(int height)
public int getWidth()
public void setWidth(int width)
public java.lang.String getMimeType()
public void setMimeType(java.lang.String mimeType)
public java.lang.String toString()
toString
in class java.lang.Object