Package org.apache.poi.hsmf.datatypes
Class NameIdChunks
- java.lang.Object
-
- org.apache.poi.hsmf.datatypes.NameIdChunks
-
- All Implemented Interfaces:
ChunkGroup
public final class NameIdChunks extends Object implements ChunkGroup
Collection of convenience chunks for the NameID part of an outlook file
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNameIdChunks.PredefinedPropertySetstatic classNameIdChunks.PropertySetType
-
Constructor Summary
Constructors Constructor Description NameIdChunks()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchunksComplete()Used to flag that all the chunks of the NameID have now been located.Chunk[]getAll()Chunk[]getChunks()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 mappingvoidrecord(Chunk chunk)Called by the parser whenever a chunk is found.
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAll
public Chunk[] getAll()
-
getChunks
public Chunk[] 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
public void record(Chunk chunk)
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
public long getPropertyTag(ClassID guid, String name, long id)
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.
-
-