Class SimpleImageInfo
java.lang.Object
org.nuxeo.ecm.core.opencmis.impl.util.SimpleImageInfo
A Java class to determine image width, height, length and MIME types for a number of image file formats without
loading the whole image data.
-
Field Details
-
width
protected int width -
height
protected int height -
length
protected long length -
mimeType
-
in
-
-
Constructor Details
-
SimpleImageInfo
- Throws:
IOException
-
-
Method Details
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getLength
public long getLength() -
getMimeType
-
processStream
- Throws:
IOException
-
read
- Throws:
IOException
-
skip
- Throws:
IOException
-
finishStream
- Throws:
IOException
-
readInt
- Throws:
IOException
-