Package com.twelvemonkeys.io.ole2
Class CompoundDocument.Stream
java.lang.Object
java.io.InputStream
com.twelvemonkeys.io.ole2.CompoundDocument.Stream
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
CompoundDocument
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate byte[]
private int
private final SIdChain
private final CompoundDocument
private final long
private int
private long
-
Constructor Summary
ConstructorsConstructorDescriptionStream
(SIdChain chain, int streamSize, int sectorSize, CompoundDocument document) -
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Field Details
-
chain
-
document
-
length
private final long length -
streamPos
private long streamPos -
nextSectorPos
private int nextSectorPos -
buffer
private byte[] buffer -
bufferPos
private int bufferPos
-
-
Constructor Details
-
Stream
-
-
Method Details
-
available
- Overrides:
available
in classInputStream
- Throws:
IOException
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
fillBuffer
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-