public class SectionIDMap extends HashMap
Maps section format IDs to PropertyIDMaps. 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 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.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description | 
|---|---|
static byte[][] | 
DOCUMENT_SUMMARY_INFORMATION_ID
The DocumentSummaryInformation's first and second sections' format
 ID. 
 | 
static byte[] | 
SUMMARY_INFORMATION_ID
The SummaryInformation's section's format ID. 
 | 
static String | 
UNDEFINED
A property without a known name is described by this string. 
 | 
| Constructor and Description | 
|---|
SectionIDMap()  | 
| Modifier and Type | Method and Description | 
|---|---|
PropertyIDMap | 
get(byte[] sectionFormatID)
Returns the  
PropertyIDMap for a given section format
 ID. | 
Object | 
get(Object sectionFormatID)
Deprecated. 
 
Use  
get(byte[]) instead! | 
static SectionIDMap | 
getInstance()
Returns the singleton instance of the default  
SectionIDMap. | 
static String | 
getPIDString(byte[] sectionFormatID,
            long pid)
Returns the property ID string that is associated with a
 given property ID in a section format ID's namespace. 
 | 
Object | 
put(byte[] sectionFormatID,
   PropertyIDMap propertyIDMap)
Associates a section format ID with a  
PropertyIDMap. | 
Object | 
put(Object key,
   Object value)
Deprecated. 
 
Use  
put(byte[], PropertyIDMap) instead! | 
clear, clone, containsKey, containsValue, entrySet, isEmpty, keySet, putAll, remove, size, valuesequals, hashCode, toStringpublic static final byte[] SUMMARY_INFORMATION_ID
The SummaryInformation's section's format ID.
public static final byte[][] DOCUMENT_SUMMARY_INFORMATION_ID
The DocumentSummaryInformation's first and second sections' format ID.
public static final String UNDEFINED
A property without a known name is described by this string.
public static SectionIDMap getInstance()
Returns the singleton instance of the default SectionIDMap.
public static String getPIDString(byte[] sectionFormatID, long pid)
Returns the property ID string that is associated with a given property ID in a section format ID's namespace.
sectionFormatID - Each section format ID has its own name
 space of property ID strings and thus must be specified.pid - The property IDpublic PropertyIDMap get(byte[] sectionFormatID)
Returns the PropertyIDMap for a given section format
 ID.
sectionFormatID - the section format IDpublic Object get(Object sectionFormatID)
get(byte[]) instead!Returns the PropertyIDMap for a given section format
 ID.
public Object put(byte[] sectionFormatID, PropertyIDMap propertyIDMap)
Associates a section format ID with a PropertyIDMap.
sectionFormatID - the section format IDpropertyIDMap - the property ID mapMap.put(K, V)public Object put(Object key, Object value)
put(byte[], PropertyIDMap) instead!put in interface Mapput in class HashMapkey - This parameter remains undocumented since the method is
 deprecated.value - This parameter remains undocumented since the method is
 deprecated.put(byte[], PropertyIDMap)Copyright © 2014 Open Microscopy Environment