public abstract class POIReadOnlyDocument extends POIDocument
Modifier | Constructor and Description |
---|---|
protected |
POIReadOnlyDocument(DirectoryNode dir) |
protected |
POIReadOnlyDocument(POIFSFileSystem fs) |
Modifier and Type | Method and Description |
---|---|
void |
write()
Note - writing is not yet supported for this file format, sorry.
|
void |
write(java.io.File file)
Note - writing is not yet supported for this file format, sorry.
|
void |
write(java.io.OutputStream out)
Note - writing is not yet supported for this file format, sorry.
|
clearDirectory, close, createInformationProperties, getDirectory, getDocumentSummaryInformation, getEncryptedPropertyStreamName, getEncryptionInfo, getPropertySet, getPropertySet, getSummaryInformation, initDirectory, readProperties, replaceDirectory, validateInPlaceWritePossible, writeProperties, writeProperties, writeProperties
protected POIReadOnlyDocument(DirectoryNode dir)
protected POIReadOnlyDocument(POIFSFileSystem fs)
public void write()
write
in class POIDocument
java.lang.IllegalStateException
- If you call the method, as writing is not supportedpublic void write(java.io.File file)
write
in class POIDocument
file
- The new File to write to.java.lang.IllegalStateException
- If you call the method, as writing is not supportedpublic void write(java.io.OutputStream out)
write
in class POIDocument
out
- The stream to write to.java.lang.IllegalStateException
- If you call the method, as writing is not supportedCopyright 2021 The Apache Software Foundation or its licensors, as applicable.