public class HPSFPropertiesOnlyDocument extends POIDocument
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 and Description |
|---|
HPSFPropertiesOnlyDocument(NPOIFSFileSystem fs) |
HPSFPropertiesOnlyDocument(OPOIFSFileSystem fs) |
HPSFPropertiesOnlyDocument(POIFSFileSystem fs) |
| Modifier and Type | Method and Description |
|---|---|
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
|
clearDirectory, close, createInformationProperties, getDirectory, getDocumentSummaryInformation, getEncryptedPropertyStreamName, getEncryptionInfo, getPropertySet, getPropertySet, getSummaryInformation, initDirectory, readProperties, replaceDirectory, validateInPlaceWritePossible, writeProperties, writeProperties, writeProperties, writePropertySetpublic HPSFPropertiesOnlyDocument(NPOIFSFileSystem fs)
public HPSFPropertiesOnlyDocument(OPOIFSFileSystem fs)
public HPSFPropertiesOnlyDocument(POIFSFileSystem fs)
public void write()
throws java.io.IOException
write in class POIDocumentjava.io.IOException - thrown on errors writing to the filepublic void write(java.io.File newFile)
throws java.io.IOException
write in class POIDocumentnewFile - 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 POIDocumentout - The stream to write to.java.io.IOException - thrown on errors writing to the streamCopyright 2018 The Apache Software Foundation or its licensors, as applicable.