Example usage for Java org.apache.poi.hpsf SummaryInformation fields, constructors, methods, implement or subclass
The text is from its open source code.
String | DEFAULT_STREAM_NAME The document name a summary information stream usually has in a POIFS filesystem. |
SummaryInformation(final PropertySet ps) Creates a SummaryInformation from a given PropertySet . | |
SummaryInformation(final InputStream stream) Creates a SummaryInformation instance from an InputStream in the Horrible Property Set Format. The constructor reads the first few bytes from the stream and determines whether it is really a property set stream. |
String | getApplicationName() Returns the application name (or null ). |
String | getAuthor() Returns the author (or null ). |
int | getCharCount() Returns the character count or 0 if the SummaryInformation does not contain a char count. |
String | getComments() Returns the comments (or null ). |
Date | getCreateDateTime() Returns the creation time (or null ). |
long | getEditTime() Returns the total time spent in editing the document (or 0 ). |
String | getKeywords() Returns the keywords (or null ). |
String | getLastAuthor() Returns the last author (or null ). |
Date | getLastPrinted() Returns the last printed time (or null ). |
Date | getLastSaveDateTime() Returns the last save time (or null ). |
int | getOSVersion() |
int | getPageCount() Returns the page count or 0 if the SummaryInformation does not contain a page count. |
String | getRevNumber() Returns the revision number (or null ). |
int | getSecurity() Returns a security code which is one of the following values:
|
String | getSubject() Returns the subject (or null ). |
String | getTemplate() Returns the template (or null ). |
byte[] | getThumbnail() Returns the thumbnail (or null ) when this method is implemented. |
String | getTitle() |
int | getWordCount() Returns the word count or 0 if the SummaryInformation does not contain a word count. |
void | setApplicationName(final String applicationName) Sets the application name. |
void | setAuthor(final String author) Sets the author. |
void | setComments(final String comments) Sets the comments. |
void | setCreateDateTime(final Date createDateTime) Sets the creation time. |
void | setKeywords(final String keywords) Sets the keywords. |
void | setLastAuthor(final String lastAuthor) Sets the last author. |
void | setRevNumber(final String revNumber) Sets the revision number. |
void | setSubject(final String subject) Sets the subject. |
void | setTitle(final String title) Sets the title. |
boolean | wasNull() Checks whether the property which the last call to #getPropertyIntValue or #getProperty tried to access was available or not. |
void | write(final DirectoryEntry dir, final String name) Writes a property set to a document in a POI filesystem directory. |