Java Doc for SummaryInformation.java in  » Collaboration » poi-3.0.2-beta2 » org » apache » poi » hpsf » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Collaboration » poi 3.0.2 beta2 » org.apache.poi.hpsf 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.poi.hpsf.PropertySet
      org.apache.poi.hpsf.MutablePropertySet
         org.apache.poi.hpsf.SpecialPropertySet
            org.apache.poi.hpsf.SummaryInformation

SummaryInformation
public class SummaryInformation extends SpecialPropertySet (Code)

Convenience class representing a Summary Information stream in a Microsoft Office document.


author:
   Rainer Klute author:
   href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de>
See Also:   DocumentSummaryInformation
version:
   $Id: SummaryInformation.java 496419 2007-01-15 17:56:52Z klute $
since:
   2002-02-09


Field Summary
final public static  StringDEFAULT_STREAM_NAME
    

Constructor Summary
public  SummaryInformation(PropertySet ps)
    

Method Summary
public  StringgetApplicationName()
    
public  StringgetAuthor()
    
public  intgetCharCount()
    
public  StringgetComments()
    
public  DategetCreateDateTime()
    
public  longgetEditTime()
    
public  StringgetKeywords()
    
public  StringgetLastAuthor()
    
public  DategetLastPrinted()
    
public  DategetLastSaveDateTime()
    
public  intgetPageCount()
    
public  StringgetRevNumber()
    

Returns the revision number (or null).

public  intgetSecurity()
    

Returns a security code which is one of the following values:

  • 0 if the SummaryInformation does not contain a security field or if there is no security on the document.

public  StringgetSubject()
    
public  StringgetTemplate()
    
public  byte[]getThumbnail()
    

Returns the thumbnail (or null) when this method is implemented.

public  StringgetTitle()
    
public  intgetWordCount()
    
public  voidremoveApplicationName()
    
public  voidremoveAuthor()
    
public  voidremoveCharCount()
    
public  voidremoveComments()
    
public  voidremoveCreateDateTime()
    
public  voidremoveEditTime()
    
public  voidremoveKeywords()
    
public  voidremoveLastAuthor()
    
public  voidremoveLastPrinted()
    
public  voidremoveLastSaveDateTime()
    
public  voidremovePageCount()
    
public  voidremoveRevNumber()
    
public  voidremoveSecurity()
    
public  voidremoveSubject()
    
public  voidremoveTemplate()
    
public  voidremoveThumbnail()
    
public  voidremoveTitle()
    
public  voidremoveWordCount()
    
public  voidsetApplicationName(String applicationName)
    
public  voidsetAuthor(String author)
    
public  voidsetCharCount(int charCount)
    
public  voidsetComments(String comments)
    
public  voidsetCreateDateTime(Date createDateTime)
    
public  voidsetEditTime(long time)
    
public  voidsetKeywords(String keywords)
    
public  voidsetLastAuthor(String lastAuthor)
    
public  voidsetLastPrinted(Date lastPrinted)
    
public  voidsetLastSaveDateTime(Date time)
    
public  voidsetPageCount(int pageCount)
    
public  voidsetRevNumber(String revNumber)
    
public  voidsetSecurity(int security)
    
public  voidsetSubject(String subject)
    
public  voidsetTemplate(String template)
    
public  voidsetThumbnail(byte[] thumbnail)
    
public  voidsetTitle(String title)
    
public  voidsetWordCount(int wordCount)
    

Field Detail
DEFAULT_STREAM_NAME
final public static String DEFAULT_STREAM_NAME(Code)

The document name a summary information stream usually has in a POIFS filesystem.





Constructor Detail
SummaryInformation
public SummaryInformation(PropertySet ps) throws UnexpectedPropertySetTypeException(Code)

Creates a SummaryInformation from a given PropertySet .


Parameters:
  ps - A property set which should be created from a summaryinformation stream.
throws:
  UnexpectedPropertySetTypeException - if ps does notcontain a summary information stream.




Method Detail
getApplicationName
public String getApplicationName()(Code)

Returns the application name (or null).

The application name or null



getAuthor
public String getAuthor()(Code)

Returns the author (or null).

The author or null



getCharCount
public int getCharCount()(Code)

Returns the character count or 0 if the SummaryInformation does not contain a char count.

The character count or null



getComments
public String getComments()(Code)

Returns the comments (or null).

The comments or null



getCreateDateTime
public Date getCreateDateTime()(Code)

Returns the creation time (or null).

The creation time or null



getEditTime
public long getEditTime()(Code)

Returns the total time spent in editing the document (or 0).

The total time spent in editing the document or 0 if the SummaryInformation does not contain this information.



getKeywords
public String getKeywords()(Code)

Returns the keywords (or null).

The keywords or null



getLastAuthor
public String getLastAuthor()(Code)

Returns the last author (or null).

The last author or null



getLastPrinted
public Date getLastPrinted()(Code)

Returns the last printed time (or null).

The last printed time or null



getLastSaveDateTime
public Date getLastSaveDateTime()(Code)

Returns the last save time (or null).

The last save time or null



getPageCount
public int getPageCount()(Code)

Returns the page count or 0 if the SummaryInformation does not contain a page count.

The page count or 0 if the SummaryInformation does notcontain a page count.



getRevNumber
public String getRevNumber()(Code)

Returns the revision number (or null).

The revision number or null



getSecurity
public int getSecurity()(Code)

Returns a security code which is one of the following values:

  • 0 if the SummaryInformation does not contain a security field or if there is no security on the document. Use PropertySet.wasNull to distinguish between the two cases!

  • 1 if the document is password protected

  • 2 if the document is read-only recommended

  • 4 if the document is read-only enforced

  • 8 if the document is locked for annotations

The security code or null



getSubject
public String getSubject()(Code)

Returns the subject (or null).

The subject or null



getTemplate
public String getTemplate()(Code)

Returns the template (or null).

The template or null



getThumbnail
public byte[] getThumbnail()(Code)

Returns the thumbnail (or null) when this method is implemented. Please note that the return type is likely to change!

Hint to developers: Drew Varner <Drew.Varner -at- sc.edu> said that this is an image in WMF or Clipboard (BMP?) format. However, we won't do any conversion into any image type but instead just return a byte array.

The thumbnail or null



getTitle
public String getTitle()(Code)

Returns the title (or null).

The title or null



getWordCount
public int getWordCount()(Code)

Returns the word count or 0 if the SummaryInformation does not contain a word count.

The word count or null



removeApplicationName
public void removeApplicationName()(Code)

Removes the application name.




removeAuthor
public void removeAuthor()(Code)

Removes the author.




removeCharCount
public void removeCharCount()(Code)

Removes the character count.




removeComments
public void removeComments()(Code)

Removes the comments.




removeCreateDateTime
public void removeCreateDateTime()(Code)

Removes the creation time.




removeEditTime
public void removeEditTime()(Code)

Remove the total time spent in editing the document.




removeKeywords
public void removeKeywords()(Code)

Removes the keywords.




removeLastAuthor
public void removeLastAuthor()(Code)

Removes the last author.




removeLastPrinted
public void removeLastPrinted()(Code)

Removes the lastPrinted.




removeLastSaveDateTime
public void removeLastSaveDateTime()(Code)

Remove the total time spent in editing the document.




removePageCount
public void removePageCount()(Code)

Removes the page count.




removeRevNumber
public void removeRevNumber()(Code)

Removes the revision number.




removeSecurity
public void removeSecurity()(Code)

Removes the security code.




removeSubject
public void removeSubject()(Code)

Removes the subject.




removeTemplate
public void removeTemplate()(Code)

Removes the template.




removeThumbnail
public void removeThumbnail()(Code)

Removes the thumbnail.




removeTitle
public void removeTitle()(Code)

Removes the title.




removeWordCount
public void removeWordCount()(Code)

Removes the word count.




setApplicationName
public void setApplicationName(String applicationName)(Code)

Sets the application name.


Parameters:
  applicationName - The application name to set.



setAuthor
public void setAuthor(String author)(Code)

Sets the author.


Parameters:
  author - The author to set.



setCharCount
public void setCharCount(int charCount)(Code)

Sets the character count.


Parameters:
  charCount - The character count to set.



setComments
public void setComments(String comments)(Code)

Sets the comments.


Parameters:
  comments - The comments to set.



setCreateDateTime
public void setCreateDateTime(Date createDateTime)(Code)

Sets the creation time.


Parameters:
  createDateTime - The creation time to set.



setEditTime
public void setEditTime(long time)(Code)

Sets the total time spent in editing the document.


Parameters:
  time - The time to set.



setKeywords
public void setKeywords(String keywords)(Code)

Sets the keywords.


Parameters:
  keywords - The keywords to set.



setLastAuthor
public void setLastAuthor(String lastAuthor)(Code)

Sets the last author.


Parameters:
  lastAuthor - The last author to set.



setLastPrinted
public void setLastPrinted(Date lastPrinted)(Code)

Sets the lastPrinted.


Parameters:
  lastPrinted - The lastPrinted to set.



setLastSaveDateTime
public void setLastSaveDateTime(Date time)(Code)

Sets the total time spent in editing the document.


Parameters:
  time - The time to set.



setPageCount
public void setPageCount(int pageCount)(Code)

Sets the page count.


Parameters:
  pageCount - The page count to set.



setRevNumber
public void setRevNumber(String revNumber)(Code)

Sets the revision number.


Parameters:
  revNumber - The revision number to set.



setSecurity
public void setSecurity(int security)(Code)

Sets the security code.


Parameters:
  security - The security code to set.



setSubject
public void setSubject(String subject)(Code)

Sets the subject.


Parameters:
  subject - The subject to set.



setTemplate
public void setTemplate(String template)(Code)

Sets the template.


Parameters:
  template - The template to set.



setThumbnail
public void setThumbnail(byte[] thumbnail)(Code)

Sets the thumbnail.


Parameters:
  thumbnail - The thumbnail to set.



setTitle
public void setTitle(String title)(Code)

Sets the title.


Parameters:
  title - The title to set.



setWordCount
public void setWordCount(int wordCount)(Code)

Sets the word count.


Parameters:
  wordCount - The word count to set.



Methods inherited from org.apache.poi.hpsf.SpecialPropertySet
public void addSection(Section section)(Code)(Java Doc)
public void clearSections()(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
public int getByteOrder()(Code)(Java Doc)
public ClassID getClassID()(Code)(Java Doc)
public Section getFirstSection()(Code)(Java Doc)
public int getFormat()(Code)(Java Doc)
public int getOSVersion()(Code)(Java Doc)
public Property[] getProperties() throws NoSingleSectionException(Code)(Java Doc)
protected Object getProperty(int id) throws NoSingleSectionException(Code)(Java Doc)
protected boolean getPropertyBooleanValue(int id) throws NoSingleSectionException(Code)(Java Doc)
protected int getPropertyIntValue(int id) throws NoSingleSectionException(Code)(Java Doc)
public int getSectionCount()(Code)(Java Doc)
public List getSections()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean isDocumentSummaryInformation()(Code)(Java Doc)
public boolean isSummaryInformation()(Code)(Java Doc)
public void setByteOrder(int byteOrder)(Code)(Java Doc)
public void setClassID(ClassID classID)(Code)(Java Doc)
public void setFormat(int format)(Code)(Java Doc)
public void setOSVersion(int osVersion)(Code)(Java Doc)
public InputStream toInputStream() throws IOException, WritingNotSupportedException(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public boolean wasNull() throws NoSingleSectionException(Code)(Java Doc)
public void write(DirectoryEntry dir, String name) throws WritingNotSupportedException, IOException(Code)(Java Doc)
public void write(OutputStream out) throws WritingNotSupportedException, IOException(Code)(Java Doc)

Methods inherited from org.apache.poi.hpsf.MutablePropertySet
public void addSection(Section section)(Code)(Java Doc)
public void clearSections()(Code)(Java Doc)
public void setByteOrder(int byteOrder)(Code)(Java Doc)
public void setClassID(ClassID classID)(Code)(Java Doc)
public void setFormat(int format)(Code)(Java Doc)
public void setOSVersion(int osVersion)(Code)(Java Doc)
public InputStream toInputStream() throws IOException, WritingNotSupportedException(Code)(Java Doc)
public void write(OutputStream out) throws WritingNotSupportedException, IOException(Code)(Java Doc)
public void write(DirectoryEntry dir, String name) throws WritingNotSupportedException, IOException(Code)(Java Doc)

Fields inherited from org.apache.poi.hpsf.PropertySet
final static byte[] BYTE_ORDER_ASSERTION(Code)(Java Doc)
final static byte[] FORMAT_ASSERTION(Code)(Java Doc)
final public static int OS_MACINTOSH(Code)(Java Doc)
final public static int OS_WIN16(Code)(Java Doc)
final public static int OS_WIN32(Code)(Java Doc)
protected int byteOrder(Code)(Java Doc)
protected ClassID classID(Code)(Java Doc)
protected int format(Code)(Java Doc)
protected int osVersion(Code)(Java Doc)
protected List sections(Code)(Java Doc)

Methods inherited from org.apache.poi.hpsf.PropertySet
public boolean equals(Object o)(Code)(Java Doc)
public int getByteOrder()(Code)(Java Doc)
public ClassID getClassID()(Code)(Java Doc)
public Section getFirstSection()(Code)(Java Doc)
public int getFormat()(Code)(Java Doc)
public int getOSVersion()(Code)(Java Doc)
public Property[] getProperties() throws NoSingleSectionException(Code)(Java Doc)
protected Object getProperty(int id) throws NoSingleSectionException(Code)(Java Doc)
protected boolean getPropertyBooleanValue(int id) throws NoSingleSectionException(Code)(Java Doc)
protected int getPropertyIntValue(int id) throws NoSingleSectionException(Code)(Java Doc)
public int getSectionCount()(Code)(Java Doc)
public List getSections()(Code)(Java Doc)
public Section getSingleSection()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean isDocumentSummaryInformation()(Code)(Java Doc)
public static boolean isPropertySetStream(InputStream stream) throws MarkUnsupportedException, IOException(Code)(Java Doc)
public static boolean isPropertySetStream(byte[] src, int offset, int length)(Code)(Java Doc)
public boolean isSummaryInformation()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public boolean wasNull() throws NoSingleSectionException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.