Class ModifyDocumentSummaryInformation
- java.lang.Object
-
- org.apache.poi.examples.hpsf.ModifyDocumentSummaryInformation
-
public final class ModifyDocumentSummaryInformation extends Object
This is a sample application showing how to easily modify properties in the summary information and in the document summary information. The application reads the name of a POI filesystem from the command line and performs the following actions:
Open the POI filesystem.
Read the summary information.
Read and print the "author" property.
Change the author to "Rainer Klute".
Read the document summary information.
Read and print the "category" property.
Change the category to "POI example".
Read the custom properties (if available).
Insert a new custom property.
Write the custom properties back to the document summary information.
Write the summary information to the POI filesystem.
Write the document summary information to the POI filesystem.
Write the POI filesystem back to the original file.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)Main method - see class description.
-