Class CachingInputStream
java.lang.Object
java.io.InputStream
org.apache.commons.imaging.icc.CachingInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class InputStream
mark, markSupported, read, read, reset, skip
-
Field Details
-
is
-
baos
-
-
Constructor Details
-
CachingInputStream
CachingInputStream(InputStream is)
-
-
Method Details
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
getCache
public byte[] getCache() -
read
- Specified by:
readin classInputStream- Throws:
IOException
-