Package com.bumptech.glide.load.data
Class ExifOrientationStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
com.bumptech.glide.load.data.ExifOrientationStream
- All Implemented Interfaces:
Closeable,AutoCloseable
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.
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterInputStream
available, close, readMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
ExifOrientationStream
-
-
Method Details
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classFilterInputStream
-
mark
public void mark(int readLimit) - Overrides:
markin classFilterInputStream
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classFilterInputStream- Throws:
IOException
-
reset
- Overrides:
resetin classFilterInputStream- Throws:
IOException
-