Package org.apache.poi
Class POIReadOnlyDocument
java.lang.Object
org.apache.poi.POIDocument
org.apache.poi.POIReadOnlyDocument
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
HDGFDiagram,HPBFDocument,MAPIMessage
This holds the common functionality for all read-only
POI Document classes, i.e. ones which don't support writing.
- Since:
- POI 3.15 beta 3
-
Method Summary
Modifier and TypeMethodDescriptionvoidwrite()Note - writing is not yet supported for this file format, sorry.voidNote - writing is not yet supported for this file format, sorry.voidwrite(OutputStream out) Note - writing is not yet supported for this file format, sorry.Methods inherited from class org.apache.poi.POIDocument
close, createInformationProperties, getDirectory, getDocumentSummaryInformation, getEncryptionInfo, getSummaryInformation, readProperties, writeProperties
-
Method Details
-
write
public void write()Note - writing is not yet supported for this file format, sorry.- Specified by:
writein classPOIDocument- Throws:
IllegalStateException- If you call the method, as writing is not supported
-
write
Note - writing is not yet supported for this file format, sorry.- Specified by:
writein classPOIDocument- Parameters:
file- The new File to write to.- Throws:
IllegalStateException- If you call the method, as writing is not supported
-
write
Note - writing is not yet supported for this file format, sorry.- Specified by:
writein classPOIDocument- Parameters:
out- The stream to write to.- Throws:
IllegalStateException- If you call the method, as writing is not supported
-