-
- All Implemented Interfaces:
-
java.io.Closeable,java.lang.AutoCloseable
public final class ExifOrientationStream extends FilterInputStream
Adds an exif segment with an orientation attribute to a wrapped 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 Summary
Constructors Constructor Description ExifOrientationStream(InputStream in, int orientation)
-
Method Summary
Modifier and Type Method Description booleanmarkSupported()voidmark(int readLimit)intread()intread(@NonNull() Array<byte> buffer, int byteOffset, int byteCount)longskip(long byteCount)voidreset()-
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip -
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ExifOrientationStream
ExifOrientationStream(InputStream in, int orientation)
-
-
-
-