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 java.lang.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 class
NameIdChunks.PredefinedPropertySet
static class
NameIdChunks.PropertySetType
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAME
-
Constructor Summary
Constructors Constructor Description NameIdChunks()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
chunksComplete()
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.long
getPropertyTag(ClassID guid, java.lang.String name, long id)
Get property tag id by property set GUID and string name or numerical name from named properties mappingvoid
record(Chunk chunk)
Called by the parser whenever a chunk is found.
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAll
public Chunk[] getAll()
-
getChunks
public Chunk[] getChunks()
Description copied from interface:ChunkGroup
Returns 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:
getChunks
in interfaceChunkGroup
-
record
public void record(Chunk chunk)
Called by the parser whenever a chunk is found.- Specified by:
record
in interfaceChunkGroup
-
chunksComplete
public void chunksComplete()
Used to flag that all the chunks of the NameID have now been located.- Specified by:
chunksComplete
in interfaceChunkGroup
-
getPropertyTag
public long getPropertyTag(ClassID guid, java.lang.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.id
or 0 if the property could not be found.
-
-