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 fileThis is a temporary copy+paste+modify from Apache POI
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TikaNameIdChunks.PredefinedPropertySet
static class
TikaNameIdChunks.PropertySetType
-
Constructor Summary
Constructors Constructor Description TikaNameIdChunks()
-
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.org.apache.poi.hsmf.datatypes.Chunk[]
getAll()
org.apache.poi.hsmf.datatypes.Chunk[]
getChunks()
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 mappingList<MAPITag>
getTags(int storageId)
void
record(org.apache.poi.hsmf.datatypes.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 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
-
getPropertyTag
public 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 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.
-
-