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.FilterInputStreampublic void mark(int readLimit)
mark in class java.io.FilterInputStreampublic int read()
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(@NonNull
byte[] buffer,
int byteOffset,
int byteCount)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic long skip(long byteCount)
throws java.io.IOException
skip in class java.io.FilterInputStreamjava.io.IOExceptionpublic void reset()
throws java.io.IOException
reset in class java.io.FilterInputStreamjava.io.IOException