mirror of https://github.com/apache/poi.git
add extra output to example
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891714 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cb6e6e0609
commit
4abda38ceb
|
@ -15,7 +15,7 @@
|
|||
limitations under the License.
|
||||
==================================================================== */
|
||||
|
||||
package org.apache.poi.examples.hpsf;
|
||||
package com.github.pjfanning.poi.sample;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileNotFoundException;
|
||||
|
@ -98,6 +98,7 @@ public final class ModifyDocumentSummaryInformation {
|
|||
|
||||
/* Change the author to "Rainer Klute". Any former author value will
|
||||
* be lost. If there has been no author yet, it will be created. */
|
||||
System.out.println("Author is " + si.getAuthor());
|
||||
si.setAuthor("Rainer Klute");
|
||||
System.out.println("Author changed to " + si.getAuthor() + ".");
|
||||
|
||||
|
@ -120,6 +121,7 @@ public final class ModifyDocumentSummaryInformation {
|
|||
|
||||
/* Change the category to "POI example". Any former category value will
|
||||
* be lost. If there has been no category yet, it will be created. */
|
||||
System.out.println("Category is " + dsi.getCategory());
|
||||
dsi.setCategory("POI example");
|
||||
System.out.println("Category changed to " + dsi.getCategory() + ".");
|
||||
|
||||
|
|
Loading…
Reference in New Issue