|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.POIDocument org.apache.poi.hpsf.HPSFPropertiesOnlyDocument
public class HPSFPropertiesOnlyDocument
A version of POIDocument
which allows access to the
HPSF Properties, but no other document contents.
Normally used when you want to read or alter the Document Properties,
without affecting the rest of the file
Constructor Summary | |
---|---|
HPSFPropertiesOnlyDocument(NPOIFSFileSystem fs)
|
|
HPSFPropertiesOnlyDocument(OPOIFSFileSystem fs)
|
|
HPSFPropertiesOnlyDocument(POIFSFileSystem fs)
|
Method Summary | |
---|---|
void |
write()
Write out to the currently open file the properties changes, but nothing else |
void |
write(java.io.File newFile)
Write out, with any properties changes, but nothing else |
void |
write(java.io.OutputStream out)
Write out, with any properties changes, but nothing else |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HPSFPropertiesOnlyDocument(NPOIFSFileSystem fs)
public HPSFPropertiesOnlyDocument(OPOIFSFileSystem fs)
public HPSFPropertiesOnlyDocument(POIFSFileSystem fs)
Method Detail |
---|
public void write() throws java.io.IOException
write
in class POIDocument
java.io.IOException
- thrown on errors writing to the filepublic void write(java.io.File newFile) throws java.io.IOException
write
in class POIDocument
newFile
- The new File to write to.
java.io.IOException
- thrown on errors writing to the filepublic void write(java.io.OutputStream out) throws java.io.IOException
write
in class POIDocument
out
- The stream to write to.
java.io.IOException
- thrown on errors writing to the stream
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |