Class 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

    • Constructor Detail

      • TikaNameIdChunks

        public TikaNameIdChunks()
    • Method Detail

      • getAll

        public org.apache.poi.hsmf.datatypes.Chunk[] getAll()
      • getChunks

        public org.apache.poi.hsmf.datatypes.Chunk[] getChunks()
        Specified by:
        getChunks in interface org.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 interface org.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 interface org.apache.poi.hsmf.datatypes.ChunkGroup
      • getTags

        public List<MAPITag> getTags​(int storageId)
      • 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_* constants
        name - Property name in case of string named property
        id - 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.