DocumentSummaryInformation
| Modifier and Type | Field and Description |
|---|---|
| public static final String | DEFAULT_STREAM_NAME
The document name a summary information stream usually has in a POIFS filesystem. |
| public static final ClassID | FORMAT_ID
The SummaryInformation's section's format ID. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | SummaryInformation(final PropertySet
A property set which should be created from a summary
information stream. ps)Creates a SummaryInformation from a given |
| public | SummaryInformation(final InputStream
Holds the data making out the property set
stream. stream)Creates a SummaryInformation instance from an |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public int | Returns: The character count ornullReturns the character count or 0 if the SummaryInformation does not contain a char count. |
| public String | |
| public Date | |
| public long | Returns: The total time spent in editing the document or 0 if theSummaryInformation does not contain this information.Returns the total time spent in editing the document (or
|
| public String | |
| public String | |
| public Date | |
| public Date | |
| public int | Returns: The page count or 0 if the SummaryInformation does not contain a page count.Returns the page count or 0 if the SummaryInformation does not contain a page count. |
| public PropertyIDMap | getPropertySetIDMap()
Overrides org. The id to name mapping of the properties in this set. |
| public String | |
| public int | Returns: The security code ornullReturns a security code which is one of the following values:
|
| public String | |
| public String | |
| public byte[] | Returns: The thumbnail ornullReturns the thumbnail (or |
| public Thumbnail | Returns: The thumbnail ornullReturns the thumbnail (or |
| public String | |
| public int | Returns: The word count ornullReturns the word count or 0 if the SummaryInformation does not contain a word count. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setApplicationName(final String
The application name to set. applicationName)Sets the application name. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setLastSaveDateTime(final Date
The time to set. time)Sets the total time spent in editing the document. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| DEFAULT_STREAM_NAME | back to summary |
|---|---|
| public static final String DEFAULT_STREAM_NAME The document name a summary information stream usually has in a POIFS filesystem. | |
| FORMAT_ID | back to summary |
|---|---|
| public static final ClassID FORMAT_ID The SummaryInformation's section's format ID. | |
| SummaryInformation | back to summary |
|---|---|
| public SummaryInformation() Creates an empty SummaryInformation. | |
| SummaryInformation | back to summary |
|---|---|
| public SummaryInformation(final PropertySet ps) throws UnexpectedPropertySetTypeException Creates a SummaryInformation from a given
| |
| SummaryInformation | back to summary |
|---|---|
| public SummaryInformation(final InputStream stream) throws NoPropertySetStreamException, IOException Creates a SummaryInformation instance from an The constructor reads the first few bytes from the stream and determines whether it is really a property set stream. If it is, it parses the rest of the stream. If it is not, it resets the stream to its beginning in order to let other components mess around with the data and throws an exception.
| |
| getApplicationName | back to summary |
|---|---|
| public String getApplicationName() Returns the application name (or
| |
| getAuthor | back to summary |
|---|---|
| public String getAuthor() Returns the author (or
| |
| getCharCount | back to summary |
|---|---|
| public int getCharCount() Returns the character count or 0 if the SummaryInformation does not contain a char count.
| |
| getComments | back to summary |
|---|---|
| public String getComments() Returns the comments (or
| |
| getCreateDateTime | back to summary |
|---|---|
| public Date getCreateDateTime() Returns the creation time (or
| |
| getEditTime | back to summary |
|---|---|
| public long getEditTime() Returns the total time spent in editing the document (or
| |
| getKeywords | back to summary |
|---|---|
| public String getKeywords() Returns the keywords (or
| |
| getLastAuthor | back to summary |
|---|---|
| public String getLastAuthor() Returns the last author (or
| |
| getLastPrinted | back to summary |
|---|---|
| public Date getLastPrinted() Returns the last printed time (or
| |
| getLastSaveDateTime | back to summary |
|---|---|
| public Date getLastSaveDateTime() Returns the last save time (or
| |
| getPageCount | back to summary |
|---|---|
| public int getPageCount() Returns the page count or 0 if the SummaryInformation does not contain a page count.
| |
| getPropertySetIDMap | back to summary |
|---|---|
| public PropertyIDMap getPropertySetIDMap() Overrides org. Doc from org. The id to name mapping of the properties in this set.
| |
| getRevNumber | back to summary |
|---|---|
| public String getRevNumber() Returns the revision number (or
| |
| getSecurity | back to summary |
|---|---|
| public int getSecurity() Returns a security code which is one of the following values:
| |
| getSubject | back to summary |
|---|---|
| public String getSubject() Returns the subject (or
| |
| getTemplate | back to summary |
|---|---|
| public String getTemplate() Returns the template (or
| |
| getThumbnail | back to summary |
|---|---|
| public byte[] getThumbnail() Returns the thumbnail (or
To process this data, you may wish to make use of the
| |
| getThumbnailThumbnail | back to summary |
|---|---|
| public Thumbnail getThumbnailThumbnail() Returns the thumbnail (or
| |
| getTitle | back to summary |
|---|---|
public String getTitle()
| |
| getWordCount | back to summary |
|---|---|
| public int getWordCount() Returns the word count or 0 if the SummaryInformation does not contain a word count.
| |
| removeApplicationName | back to summary |
|---|---|
| public void removeApplicationName() Removes the application name. | |
| removeAuthor | back to summary |
|---|---|
| public void removeAuthor() Removes the author. | |
| removeCharCount | back to summary |
|---|---|
| public void removeCharCount() Removes the character count. | |
| removeComments | back to summary |
|---|---|
| public void removeComments() Removes the comments. | |
| removeCreateDateTime | back to summary |
|---|---|
| public void removeCreateDateTime() Removes the creation time. | |
| removeEditTime | back to summary |
|---|---|
| public void removeEditTime() Remove the total time spent in editing the document. | |
| removeKeywords | back to summary |
|---|---|
| public void removeKeywords() Removes the keywords. | |
| removeLastAuthor | back to summary |
|---|---|
| public void removeLastAuthor() Removes the last author. | |
| removeLastPrinted | back to summary |
|---|---|
| public void removeLastPrinted() Removes the lastPrinted. | |
| removeLastSaveDateTime | back to summary |
|---|---|
| public void removeLastSaveDateTime() Remove the total time spent in editing the document. | |
| removePageCount | back to summary |
|---|---|
| public void removePageCount() Removes the page count. | |
| removeRevNumber | back to summary |
|---|---|
| public void removeRevNumber() Removes the revision number. | |
| removeSecurity | back to summary |
|---|---|
| public void removeSecurity() Removes the security code. | |
| removeSubject | back to summary |
|---|---|
| public void removeSubject() Removes the subject. | |
| removeTemplate | back to summary |
|---|---|
| public void removeTemplate() Removes the template. | |
| removeThumbnail | back to summary |
|---|---|
| public void removeThumbnail() Removes the thumbnail. | |
| removeTitle | back to summary |
|---|---|
| public void removeTitle() Removes the title. | |
| removeWordCount | back to summary |
|---|---|
| public void removeWordCount() Removes the word count. | |
| setApplicationName | back to summary |
|---|---|
| public void setApplicationName(final String applicationName) Sets the application name.
| |
| setAuthor | back to summary |
|---|---|
| public void setAuthor(final String author) Sets the author.
| |
| setCharCount | back to summary |
|---|---|
| public void setCharCount(final int charCount) Sets the character count.
| |
| setComments | back to summary |
|---|---|
| public void setComments(final String comments) Sets the comments.
| |
| setCreateDateTime | back to summary |
|---|---|
| public void setCreateDateTime(final Date createDateTime) Sets the creation time.
| |
| setEditTime | back to summary |
|---|---|
| public void setEditTime(final long time) Sets the total time spent in editing the document.
| |
| setKeywords | back to summary |
|---|---|
| public void setKeywords(final String keywords) Sets the keywords.
| |
| setLastAuthor | back to summary |
|---|---|
| public void setLastAuthor(final String lastAuthor) Sets the last author.
| |
| setLastPrinted | back to summary |
|---|---|
| public void setLastPrinted(final Date lastPrinted) Sets the lastPrinted.
| |
| setLastSaveDateTime | back to summary |
|---|---|
| public void setLastSaveDateTime(final Date time) Sets the total time spent in editing the document.
| |
| setPageCount | back to summary |
|---|---|
| public void setPageCount(final int pageCount) Sets the page count.
| |
| setRevNumber | back to summary |
|---|---|
| public void setRevNumber(final String revNumber) Sets the revision number.
| |
| setSecurity | back to summary |
|---|---|
| public void setSecurity(final int security) Sets the security code.
| |
| setSubject | back to summary |
|---|---|
| public void setSubject(final String subject) Sets the subject.
| |
| setTemplate | back to summary |
|---|---|
| public void setTemplate(final String template) Sets the template.
| |
| setThumbnail | back to summary |
|---|---|
| public void setThumbnail(final byte[] thumbnail) Sets the thumbnail.
| |
| setTitle | back to summary |
|---|---|
| public void setTitle(final String title) Sets the title.
| |
| setWordCount | back to summary |
|---|---|
| public void setWordCount(final int wordCount) Sets the word count.
| |