POIFSFileSystem version.
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private POIFSFileSystem | |
| private DocumentProperty | |
| private POIFSStream |
| Access | Constructor and Description |
|---|---|
| public | |
| public | POIFSDocument(DocumentProperty property, POIFSFileSystem filesystem)
Constructor for an existing Document |
| public | POIFSDocument(String
the name of the POIFSDocument name, POIFSFileSystem filesystem, InputStream the InputStream we read data from stream)Constructor for a new Document |
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv Iterator | |
| pack-priv int | |
| pack-priv DocumentProperty | |
| pack-priv POIFSFileSystem | |
| public String | Returns: short descriptionImplements org. Provides a short description of the object, to be used when a POIFSViewable object has not provided its contents. |
| public int | |
| public Object[] | Returns: an array of Object; may not be null, but may be emptyImplements org. Get an array of objects, some of which may implement POIFSViewable |
| public Iterator | Returns: an Iterator; may not be null, but may have an empty back end storeImplements org. Get an Iterator of objects, some of which may implement POIFSViewable |
| public Iterator | |
| public boolean | Returns: true if a viewer should call getViewableArray,
false if a viewer should call getViewableIteratorImplements org. Give viewers a hint as to whether to call getViewableArray or getViewableIterator |
| public void | |
| private int |
| _block_size | back to summary |
|---|---|
| private int _block_size | |
| _filesystem | back to summary |
|---|---|
| private POIFSFileSystem _filesystem | |
| _property | back to summary |
|---|---|
| private DocumentProperty _property | |
| _stream | back to summary |
|---|---|
| private POIFSStream _stream | |
| POIFSDocument | back to summary |
|---|---|
| public POIFSDocument(DocumentNode document) Constructor for an existing Document | |
| POIFSDocument | back to summary |
|---|---|
| public POIFSDocument(DocumentProperty property, POIFSFileSystem filesystem) Constructor for an existing Document | |
| POIFSDocument | back to summary |
|---|---|
| public POIFSDocument(String name, POIFSFileSystem filesystem, InputStream stream) throws IOException Constructor for a new Document
| |
| POIFSDocument | back to summary |
|---|---|
| public POIFSDocument(String name, final int size, POIFSFileSystem filesystem, POIFSWriterListener writer) throws IOException | |
| free | back to summary |
|---|---|
| pack-priv void free() throws IOException Frees the underlying stream and property | |
| getBlockIterator | back to summary |
|---|---|
| pack-priv Iterator | |
| getDocumentBlockSize | back to summary |
|---|---|
| pack-priv int getDocumentBlockSize() | |
| getDocumentProperty | back to summary |
|---|---|
pack-priv DocumentProperty getDocumentProperty()
| |
| getFileSystem | back to summary |
|---|---|
| pack-priv POIFSFileSystem getFileSystem() | |
| getShortDescription | back to summary |
|---|---|
| public String getShortDescription() Implements org. Provides a short description of the object, to be used when a POIFSViewable object has not provided its contents.
| |
| getSize | back to summary |
|---|---|
public int getSize()
| |
| getViewableArray | back to summary |
|---|---|
| public Object[] getViewableArray() Implements org. Get an array of objects, some of which may implement POIFSViewable
| |
| getViewableIterator | back to summary |
|---|---|
| public Iterator Implements org. Get an Iterator of objects, some of which may implement POIFSViewable | |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type
| |
| preferArray | back to summary |
|---|---|
| public boolean preferArray() Implements org. Give viewers a hint as to whether to call getViewableArray or getViewableIterator
| |
| replaceContents | back to summary |
|---|---|
| public void replaceContents(InputStream stream) throws IOException | |
| store | back to summary |
|---|---|
| private int store(InputStream stream) throws IOException Stores the given data for this Document | |