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.
author:
Rainer Klute author:
href="mailto:klute@rainer-klute.de">klute@rainer-klute.de
since:
2006-02-09
version:
$Id: TestWrite.java 353637 2005-04-13 16:33:22Z klute $