Package org.apache.poi.hsmf.datatypes
Class NameIdChunks
java.lang.Object
org.apache.poi.hsmf.datatypes.NameIdChunks
- All Implemented Interfaces:
ChunkGroup
Collection of convenience chunks for the NameID part of an outlook file
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidUsed to flag that all the chunks of the NameID have now been located.Chunk[]getAll()Chunk[]Returns the chunks that make up the group.longgetPropertyTag(ClassID guid, String name, long id) Get property tag id by property set GUID and string name or numerical name from named properties mappingvoidCalled by the parser whenever a chunk is found.
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
NameIdChunks
public NameIdChunks()
-
-
Method Details
-
getAll
-
getChunks
Description copied from interface:ChunkGroupReturns the chunks that make up the group. Should certainly contain all the interesting Chunks, but needn't always contain all of the Chunks.- Specified by:
getChunksin interfaceChunkGroup
-
record
Called by the parser whenever a chunk is found.- Specified by:
recordin interfaceChunkGroup
-
chunksComplete
public void chunksComplete()Used to flag that all the chunks of the NameID have now been located.- Specified by:
chunksCompletein interfaceChunkGroup
-
getPropertyTag
Get property tag id by property set GUID and string name or numerical name from named properties mapping- Parameters:
guid- Property set GUID in registry format without brackets. May be one of the PS_* or PSETID_* constantsname- Property name in case of string named propertyid- Property id in case of numerical named property- Returns:
- Property tag which can be matched with
MAPIProperty.idor 0 if the property could not be found.
-