Class ODocumentInputStream

java.lang.Object
java.io.InputStream
org.docx4j.org.apache.poi.poifs.filesystem.DocumentInputStream
org.docx4j.org.apache.poi.poifs.filesystem.ODocumentInputStream
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable, LittleEndianInput

public final class ODocumentInputStream
extends DocumentInputStream
This class provides methods to read a DocumentEntry managed by a OPOIFSFileSystem instance.
  • Field Summary

    Fields inherited from class org.docx4j.org.apache.poi.poifs.filesystem.DocumentInputStream

    EOF, SIZE_INT, SIZE_LONG, SIZE_SHORT
  • Constructor Summary

    Constructors
    Constructor Description
    ODocumentInputStream​(DocumentEntry document)
    Create an InputStream from the specified DocumentEntry
    ODocumentInputStream​(OPOIFSDocument document)
    Create an InputStream from the specified Document
  • Method Summary

    Modifier and Type Method Description
    int available()  
    void close()  
    void mark​(int ignoredReadlimit)  
    int read()  
    int read​(byte[] b, int off, int len)  
    byte readByte()  
    double readDouble()  
    void readFully​(byte[] buf, int off, int len)  
    int readInt()  
    long readLong()  
    short readShort()  
    int readUByte()  
    int readUShort()  
    void reset()
    Repositions this stream to the position at the time the mark() method was last called on this input stream.
    long skip​(long n)  

    Methods inherited from class org.docx4j.org.apache.poi.poifs.filesystem.DocumentInputStream

    markSupported, read, readFully, readUInt

    Methods inherited from class java.io.InputStream

    nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait