public final class ODocumentInputStream extends DocumentInputStream
POIFSFileSystem instance.EOF, SIZE_INT, SIZE_LONG, SIZE_SHORT| Constructor and Description |
|---|
ODocumentInputStream(DocumentEntry document)
Create an InputStream from the specified DocumentEntry
|
ODocumentInputStream(POIFSDocument document)
Create an InputStream from the specified Document
|
| Modifier and Type | Method and 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) |
markSupported, read, readFullypublic ODocumentInputStream(DocumentEntry document) throws IOException
document - the DocumentEntry to be readIOException - if the DocumentEntry cannot be opened (like, maybe it has
been deleted?)public ODocumentInputStream(POIFSDocument document)
document - the Document to be readpublic int available()
available in interface LittleEndianInputavailable in class DocumentInputStreampublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class DocumentInputStreampublic void mark(int ignoredReadlimit)
mark in class DocumentInputStreampublic int read()
throws IOException
read in class DocumentInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class DocumentInputStreamIOExceptionpublic void reset()
reset in class DocumentInputStreampublic long skip(long n)
throws IOException
skip in class DocumentInputStreamIOExceptionpublic byte readByte()
readByte in interface LittleEndianInputreadByte in class DocumentInputStreampublic double readDouble()
readDouble in interface LittleEndianInputreadDouble in class DocumentInputStreampublic short readShort()
readShort in interface LittleEndianInputreadShort in class DocumentInputStreampublic void readFully(byte[] buf,
int off,
int len)
readFully in interface LittleEndianInputreadFully in class DocumentInputStreampublic long readLong()
readLong in interface LittleEndianInputreadLong in class DocumentInputStreampublic int readInt()
readInt in interface LittleEndianInputreadInt in class DocumentInputStreampublic int readUShort()
readUShort in interface LittleEndianInputreadUShort in class DocumentInputStreampublic int readUByte()
readUByte in interface LittleEndianInputreadUByte in class DocumentInputStreamCopyright © 2020. All rights reserved.