public final 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, read
public ExifOrientationStream(InputStream in, int orientation)
public boolean markSupported()
markSupported
in class FilterInputStream
public void mark(int readLimit)
mark
in class FilterInputStream
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(@NonNull byte[] buffer, int byteOffset, int byteCount) throws IOException
read
in class FilterInputStream
IOException
public long skip(long byteCount) throws IOException
skip
in class FilterInputStream
IOException
public void reset() throws IOException
reset
in class FilterInputStream
IOException