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
IOException
public int getWidth()
public int getHeight()
public long getLength()
public String getMimeType()
protected void processStream() throws IOException
IOException
protected int read() throws IOException
IOException
protected void skip(long n) throws IOException
IOException
protected void finishStream() throws IOException
IOException
protected int readInt(int noOfBytes, boolean bigEndian) throws IOException
IOException
Copyright © 2018 Nuxeo. All rights reserved.