public class SimpleImageInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
height |
protected InputStream |
in |
protected long |
length |
protected String |
mimeType |
protected int |
width |
| Constructor and Description |
|---|
SimpleImageInfo(InputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finishStream() |
int |
getHeight() |
long |
getLength() |
String |
getMimeType() |
int |
getWidth() |
protected void |
processStream() |
protected int |
read() |
protected int |
readInt(int noOfBytes,
boolean bigEndian) |
protected void |
skip(long n) |
protected int width
protected int height
protected long length
protected InputStream in
public SimpleImageInfo(InputStream stream) throws IOException
IOExceptionpublic int getWidth()
public int getHeight()
public long getLength()
public String getMimeType()
protected void processStream() throws IOException
IOExceptionprotected int read() throws IOException
IOExceptionprotected void skip(long n) throws IOException
IOExceptionprotected void finishStream() throws IOException
IOExceptionprotected int readInt(int noOfBytes, boolean bigEndian) throws IOException
IOExceptionCopyright © 2019 Nuxeo. All rights reserved.