Class CompoundDocument.Stream
java.lang.Object
java.io.InputStream
com.twelvemonkeys.io.ole2.CompoundDocument.Stream
- All Implemented Interfaces:
Closeable, AutoCloseable
- Enclosing class:
CompoundDocument
- Version:
- $Id: //depot/branches/personal/haraldk/twelvemonkeys/release-2/twelvemonkeys-core/src/main/java/com/twelvemonkeys/io/ole2/CompoundDocument.java#4 $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate byte[]private intprivate final SIdChainprivate final CompoundDocumentprivate final longprivate intprivate long -
Constructor Summary
ConstructorsConstructorDescriptionStream(SIdChain chain, int streamSize, int sectorSize, CompoundDocument document) -
Method Summary
Methods inherited from class 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:
availablein classInputStream- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
fillBuffer
- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-