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