Java Doc for SectionIDMap.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.SectionIDMap

SectionIDMap
public class SectionIDMap extends HashMap (Code)

Maps section format IDs to PropertyIDMap s. It is initialized with two well-known section format IDs: those of the \005SummaryInformation stream and the \005DocumentSummaryInformation stream.

If you have a section format ID you can use it as a key to query this map. If you get a PropertyIDMap returned your section is well-known and you can query the PropertyIDMap for PID strings. If you get back null you are on your own.

This java.util.Map expects the byte arrays of section format IDs as keys. A key maps to a PropertyIDMap describing the property IDs in sections with the specified section format ID.


author:
   Rainer Klute (klute@rainer-klute.de)
version:
   $Id: SectionIDMap.java 489730 2006-12-22 19:18:16Z bayard $
since:
   2002-02-09


Field Summary
final public static  byte[][]DOCUMENT_SUMMARY_INFORMATION_ID
    
final public static  byte[]SUMMARY_INFORMATION_ID
    
final public static  StringUNDEFINED
    


Method Summary
public  PropertyIDMapget(byte[] sectionFormatID)
    
public  Objectget(Object sectionFormatID)
    
public static  SectionIDMapgetInstance()
    
public static  StringgetPIDString(byte[] sectionFormatID, long pid)
    

Returns the property ID string that is associated with a given property ID in a section format ID's namespace.


Parameters:
  sectionFormatID - Each section format ID has its own namespace of property ID strings and thus must be specified.
Parameters:
  pid - The property ID The well-known property ID string associated with theproperty ID pid in the name space spanned by sectionFormatID .
public  Objectput(byte[] sectionFormatID, PropertyIDMap propertyIDMap)
    
public  Objectput(Object key, Object value)
    SectionIDMap.put(byte[],PropertyIDMap)
See Also:   SectionIDMap.put(byte[],PropertyIDMap)
Parameters:
  key - This parameter remains undocumented since the method isdeprecated.
Parameters:
  value - This parameter remains undocumented since the method isdeprecated.

Field Detail
DOCUMENT_SUMMARY_INFORMATION_ID
final public static byte[][] DOCUMENT_SUMMARY_INFORMATION_ID(Code)

The DocumentSummaryInformation's first and second sections' format ID.




SUMMARY_INFORMATION_ID
final public static byte[] SUMMARY_INFORMATION_ID(Code)

The SummaryInformation's section's format ID.




UNDEFINED
final public static String UNDEFINED(Code)

A property without a known name is described by this string.






Method Detail
get
public PropertyIDMap get(byte[] sectionFormatID)(Code)

Returns the PropertyIDMap for a given section format ID.


Parameters:
  sectionFormatID - the section format ID the property ID map



get
public Object get(Object sectionFormatID)(Code)

Returns the PropertyIDMap for a given section format ID.


Parameters:
  sectionFormatID - A section format ID as a byte[] .SectionIDMap.get(byte[]) the property ID map



getInstance
public static SectionIDMap getInstance()(Code)

Returns the singleton instance of the default SectionIDMap .

The instance value



getPIDString
public static String getPIDString(byte[] sectionFormatID, long pid)(Code)

Returns the property ID string that is associated with a given property ID in a section format ID's namespace.


Parameters:
  sectionFormatID - Each section format ID has its own namespace of property ID strings and thus must be specified.
Parameters:
  pid - The property ID The well-known property ID string associated with theproperty ID pid in the name space spanned by sectionFormatID . If the pid/sectionFormatID combination is not well-known, thestring "[undefined]" is returned.



put
public Object put(byte[] sectionFormatID, PropertyIDMap propertyIDMap)(Code)

Associates a section format ID with a PropertyIDMap .


Parameters:
  sectionFormatID - the section format ID
Parameters:
  propertyIDMap - the property ID map as defined by java.util.Map.put



put
public Object put(Object key, Object value)(Code)
SectionIDMap.put(byte[],PropertyIDMap)
See Also:   SectionIDMap.put(byte[],PropertyIDMap)
Parameters:
  key - This parameter remains undocumented since the method isdeprecated.
Parameters:
  value - This parameter remains undocumented since the method isdeprecated. The return value remains undocumented since the method isdeprecated.



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.