|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.POIDocument
org.apache.poi.POIReadOnlyDocument
public abstract class POIReadOnlyDocument
This holds the common functionality for all read-only POI Document classes, i.e. ones which don't support writing.
Constructor Summary | |
---|---|
POIReadOnlyDocument(DirectoryNode dir)
|
|
POIReadOnlyDocument(NPOIFSFileSystem fs)
|
|
POIReadOnlyDocument(OPOIFSFileSystem fs)
|
|
POIReadOnlyDocument(POIFSFileSystem fs)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public POIReadOnlyDocument(DirectoryNode dir)
public POIReadOnlyDocument(NPOIFSFileSystem fs)
public POIReadOnlyDocument(OPOIFSFileSystem fs)
public POIReadOnlyDocument(POIFSFileSystem fs)
Method Detail |
---|
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 supported
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |