Class ByteSourceInputStream.CacheReadingInputStream
java.lang.Object
java.io.InputStream
org.apache.commons.imaging.common.bytesource.ByteSourceInputStream.CacheReadingInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
ByteSourceInputStream
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ByteSourceInputStream.CacheBlock
private int
private boolean
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferTo
-
Field Details
-
block
-
readFirst
private boolean readFirst -
blockIndex
private int blockIndex
-
-
Constructor Details
-
CacheReadingInputStream
private CacheReadingInputStream()
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
skip
- Overrides:
skip
in classInputStream
- Throws:
IOException
-