public class ExifOrientationStream extends FilterInputStream
InputStream containing
image data.
This class assumes that the wrapped stream contains an image format that can contain exif information and performs no verification.
in| Constructor and Description |
|---|
ExifOrientationStream(InputStream in,
int orientation) |
| Modifier and Type | Method and Description |
|---|---|
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] buffer,
int byteOffset,
int byteCount) |
void |
reset() |
long |
skip(long byteCount) |
available, close, readpublic ExifOrientationStream(InputStream in, int orientation)
public boolean markSupported()
markSupported in class FilterInputStreampublic void mark(int readlimit)
mark in class FilterInputStreampublic int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] buffer,
int byteOffset,
int byteCount)
throws IOException
read in class FilterInputStreamIOExceptionpublic long skip(long byteCount)
throws IOException
skip in class FilterInputStreamIOExceptionpublic void reset()
throws IOException
reset in class FilterInputStreamIOException