Class TikaNameIdChunks
java.lang.Object
org.apache.tika.parser.microsoft.msg.TikaNameIdChunks
- All Implemented Interfaces:
org.apache.poi.hsmf.datatypes.ChunkGroup
public final class TikaNameIdChunks
extends Object
implements org.apache.poi.hsmf.datatypes.ChunkGroup
Collection of convenience chunks for the NameID part of an outlook file
This is a temporary copy+paste+modify from Apache POI
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Used to flag that all the chunks of the NameID have now been located.org.apache.poi.hsmf.datatypes.Chunk[]
getAll()
org.apache.poi.hsmf.datatypes.Chunk[]
long
getPropertyTag
(org.apache.poi.hpsf.ClassID guid, String name, long id) Get property tag id by property set GUID and string name or numerical name from named properties mappinggetTags
(int storageId) void
record
(org.apache.poi.hsmf.datatypes.Chunk chunk) Called by the parser whenever a chunk is found.
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
TikaNameIdChunks
public TikaNameIdChunks()
-
-
Method Details
-
getAll
public org.apache.poi.hsmf.datatypes.Chunk[] getAll() -
getChunks
public org.apache.poi.hsmf.datatypes.Chunk[] getChunks()- Specified by:
getChunks
in interfaceorg.apache.poi.hsmf.datatypes.ChunkGroup
-
record
public void record(org.apache.poi.hsmf.datatypes.Chunk chunk) Called by the parser whenever a chunk is found.- Specified by:
record
in interfaceorg.apache.poi.hsmf.datatypes.ChunkGroup
-
chunksComplete
public void chunksComplete()Used to flag that all the chunks of the NameID have now been located.- Specified by:
chunksComplete
in interfaceorg.apache.poi.hsmf.datatypes.ChunkGroup
-
getTags
-
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.id
or 0 if the property could not be found.
-