Java Doc for PropertyIDMap.java in  » Collaboration » poi-3.0.2-beta2 » org » apache » poi » hpsf » wellknown » 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.wellknown 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.util.HashMap
   org.apache.poi.hpsf.wellknown.PropertyIDMap

PropertyIDMap
public class PropertyIDMap extends HashMap (Code)

This is a dictionary which maps property ID values to property ID strings.

The methods PropertyIDMap.getSummaryInformationProperties and PropertyIDMap.getDocumentSummaryInformationProperties return singleton PropertyIDMap s. An application that wants to extend these maps should treat them as unmodifiable, copy them and modifiy the copies.


author:
   Rainer Klute author:
   href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de>
version:
   $Id: PropertyIDMap.java 489730 2006-12-22 19:18:16Z bayard $
since:
   2002-02-09


Field Summary
final public static  intPID_APPNAME
    
final public static  intPID_AUTHOR
    
final public static  intPID_BYTECOUNT
    
final public static  intPID_CATEGORY
    

The entry is a string denoting the category the file belongs to, e.g.

final public static  intPID_CHARCOUNT
    
final public static  intPID_CODEPAGE
    
final public static  intPID_COMMENTS
    
final public static  intPID_COMPANY
    
final public static  intPID_CREATE_DTM
    
final public static  intPID_DICTIONARY
    
final public static  intPID_DOCPARTS
    
final public static  intPID_EDITTIME
    
final public static  intPID_HEADINGPAIR
    

This entry denotes an internally used property.

final public static  intPID_HIDDENCOUNT
    
final public static  intPID_KEYWORDS
    
final public static  intPID_LASTAUTHOR
    
final public static  intPID_LASTPRINTED
    
final public static  intPID_LASTSAVE_DTM
    
final public static  intPID_LINECOUNT
    
final public static  intPID_LINKSDIRTY
    
final public static  intPID_MANAGER
    
final public static  intPID_MAX
    

The highest well-known property ID.

final public static  intPID_MMCLIPCOUNT
    

Number of multimedia clips, e.g.

final public static  intPID_NOTECOUNT
    
final public static  intPID_PAGECOUNT
    
final public static  intPID_PARCOUNT
    
final public static  intPID_PRESFORMAT
    

Target format for power point presentation, e.g.

final public static  intPID_REVNUMBER
    
final public static  intPID_SCALE
    

This entry is set to -1 when scaling of the thumbnail is desired.

final public static  intPID_SECURITY
    

ID of the property that denotes whether read/write access to the document is allowed or whether is should be opened as read-only.

final public static  intPID_SLIDECOUNT
    
final public static  intPID_SUBJECT
    
final public static  intPID_TEMPLATE
    
final public static  intPID_THUMBNAIL
    
final public static  intPID_TITLE
    
final public static  intPID_WORDCOUNT
    

Constructor Summary
public  PropertyIDMap(int initialCapacity, float loadFactor)
    
public  PropertyIDMap(Map map)
    

Method Summary
public  Objectget(long id)
    

Gets the ID string for an ID from the PropertyIDMap .


Parameters:
  id - The ID.
public static  PropertyIDMapgetDocumentSummaryInformationProperties()
    
public static  PropertyIDMapgetSummaryInformationProperties()
    
public static  voidmain(String[] args)
    
public  Objectput(long id, String idString)
    

Puts a ID string for an ID into the PropertyIDMap .


Parameters:
  id - The ID.
Parameters:
  idString - The ID string.

Field Detail
PID_APPNAME
final public static int PID_APPNAME(Code)

ID of the property that denotes the application that created the document




PID_AUTHOR
final public static int PID_AUTHOR(Code)

ID of the property that denotes the document's author




PID_BYTECOUNT
final public static int PID_BYTECOUNT(Code)

Number of bytes.




PID_CATEGORY
final public static int PID_CATEGORY(Code)

The entry is a string denoting the category the file belongs to, e.g. review, memo, etc. This is useful to find documents of same type.




PID_CHARCOUNT
final public static int PID_CHARCOUNT(Code)

ID of the property that denotes the number of characters in the document




PID_CODEPAGE
final public static int PID_CODEPAGE(Code)

The entry denotes a code page.




PID_COMMENTS
final public static int PID_COMMENTS(Code)

ID of the property that denotes the document's comments




PID_COMPANY
final public static int PID_COMPANY(Code)

This entry contains the company name.




PID_CREATE_DTM
final public static int PID_CREATE_DTM(Code)

ID of the property that denotes the date and time the document was created.




PID_DICTIONARY
final public static int PID_DICTIONARY(Code)

The entry is a dictionary.




PID_DOCPARTS
final public static int PID_DOCPARTS(Code)

This entry contains the names of document parts (word: names of the documents in the master document, excel: sheet names, power point: slide titles, binder: document names).




PID_EDITTIME
final public static int PID_EDITTIME(Code)

ID of the property that denotes the document's edit time




PID_HEADINGPAIR
final public static int PID_HEADINGPAIR(Code)

This entry denotes an internally used property. It is a vector of variants consisting of pairs of a string (VT_LPSTR) and a number (VT_I4). The string is a heading name, and the number tells how many document parts are under that heading.




PID_HIDDENCOUNT
final public static int PID_HIDDENCOUNT(Code)

Number of hidden slides.




PID_KEYWORDS
final public static int PID_KEYWORDS(Code)

ID of the property that denotes the document's keywords




PID_LASTAUTHOR
final public static int PID_LASTAUTHOR(Code)

ID of the property that denotes the document's last author




PID_LASTPRINTED
final public static int PID_LASTPRINTED(Code)

ID of the property that denotes the date and time the document was last printed




PID_LASTSAVE_DTM
final public static int PID_LASTSAVE_DTM(Code)

ID of the property that denotes the date and time the document was saved




PID_LINECOUNT
final public static int PID_LINECOUNT(Code)

Number of lines.




PID_LINKSDIRTY
final public static int PID_LINKSDIRTY(Code)

If this entry is -1 the links are dirty and should be re-evaluated.




PID_MANAGER
final public static int PID_MANAGER(Code)

This entry contains the name of the project manager.




PID_MAX
final public static int PID_MAX(Code)

The highest well-known property ID. Applications are free to use higher values for custom purposes.




PID_MMCLIPCOUNT
final public static int PID_MMCLIPCOUNT(Code)

Number of multimedia clips, e.g. sound or video.




PID_NOTECOUNT
final public static int PID_NOTECOUNT(Code)

Number of slides with notes.




PID_PAGECOUNT
final public static int PID_PAGECOUNT(Code)

ID of the property that denotes the number of pages in the document




PID_PARCOUNT
final public static int PID_PARCOUNT(Code)

Number of paragraphs.




PID_PRESFORMAT
final public static int PID_PRESFORMAT(Code)

Target format for power point presentation, e.g. 35mm, printer, video etc.




PID_REVNUMBER
final public static int PID_REVNUMBER(Code)

ID of the property that denotes the document's revision number




PID_SCALE
final public static int PID_SCALE(Code)

This entry is set to -1 when scaling of the thumbnail is desired. Otherwise the thumbnail should be cropped.




PID_SECURITY
final public static int PID_SECURITY(Code)

ID of the property that denotes whether read/write access to the document is allowed or whether is should be opened as read-only. It can have the following values:

Value

Description

0

No restriction

2

Read-only recommended

4

Read-only enforced




PID_SLIDECOUNT
final public static int PID_SLIDECOUNT(Code)

Number of slides in a power point presentation.




PID_SUBJECT
final public static int PID_SUBJECT(Code)

ID of the property that denotes the document's subject




PID_TEMPLATE
final public static int PID_TEMPLATE(Code)

ID of the property that denotes the document's template




PID_THUMBNAIL
final public static int PID_THUMBNAIL(Code)

ID of the property that denotes the document's thumbnail




PID_TITLE
final public static int PID_TITLE(Code)

ID of the property that denotes the document's title




PID_WORDCOUNT
final public static int PID_WORDCOUNT(Code)

ID of the property that denotes the number of words in the document





Constructor Detail
PropertyIDMap
public PropertyIDMap(int initialCapacity, float loadFactor)(Code)

Creates a PropertyIDMap .


Parameters:
  initialCapacity - The initial capacity as defined forHashMap
Parameters:
  loadFactor - The load factor as defined for HashMap



PropertyIDMap
public PropertyIDMap(Map map)(Code)

Creates a PropertyIDMap backed by another map.


Parameters:
  map - The instance to be created is backed by this map.




Method Detail
get
public Object get(long id)(Code)

Gets the ID string for an ID from the PropertyIDMap .


Parameters:
  id - The ID. The ID string associated with id.



getDocumentSummaryInformationProperties
public static PropertyIDMap getDocumentSummaryInformationProperties()(Code)

Returns the Document Summary Information properties singleton.

The Document Summary Information properties singleton.



getSummaryInformationProperties
public static PropertyIDMap getSummaryInformationProperties()(Code)
the Summary Information properties singleton



main
public static void main(String[] args)(Code)

For the most basic testing.


Parameters:
  args - The command-line arguments



put
public Object put(long id, String idString)(Code)

Puts a ID string for an ID into the PropertyIDMap .


Parameters:
  id - The ID.
Parameters:
  idString - The ID string. As specified by the java.util.Map interface, this methodreturns the previous value associated with the specifiedid, or null if there was no mapping forkey.



Methods inherited from java.util.HashMap
public void clear()(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
public boolean containsKey(Object key)(Code)(Java Doc)
public boolean containsValue(Object value)(Code)(Java Doc)
public Set<Map.Entry<K, V>> entrySet()(Code)(Java Doc)
public V get(Object key)(Code)(Java Doc)
public boolean isEmpty()(Code)(Java Doc)
public Set<K> keySet()(Code)(Java Doc)
public V put(K key, V value)(Code)(Java Doc)
public void putAll(Map<? extends K, ? extends V> m)(Code)(Java Doc)
public V remove(Object key)(Code)(Java Doc)
public int size()(Code)(Java Doc)
public Collection<V> values()(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.