Class RecipientChunks

    • Constructor Detail

      • RecipientChunks

        public RecipientChunks​(String name)
    • Method Detail

      • getRecipientNumber

        public int getRecipientNumber()
      • getRecipientSearchChunk

        public ByteChunk getRecipientSearchChunk()
      • getRecipientNameChunk

        public StringChunk getRecipientNameChunk()
      • getRecipientEmailChunk

        public StringChunk getRecipientEmailChunk()
      • getRecipientSMTPChunk

        public StringChunk getRecipientSMTPChunk()
      • getDeliveryTypeChunk

        public StringChunk getDeliveryTypeChunk()
      • getRecipientDisplayNameChunk

        public StringChunk getRecipientDisplayNameChunk()
      • getRecipientName

        public String getRecipientName()
        Tries to find their name, in whichever chunk holds it.
      • getRecipientEmailAddress

        public String getRecipientEmailAddress()
        Tries to find their email address, in whichever chunk holds it given the delivery type.
      • getProperties

        public Map<MAPIProperty,​List<PropertyValue>> getProperties()
        Description copied from interface: ChunkGroupWithProperties
        Returns all the Properties contained in the Chunk, along with their Values. Normally, each property will have one value, sometimes none, and rarely multiple (normally for Unknown etc). For fixed sized properties, the value can be fetched straight from the PropertyValue. For variable sized properties, you'll need to go via the chunk.
        Specified by:
        getProperties in interface ChunkGroupWithProperties
      • 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 interface ChunkGroup
      • record

        public void record​(Chunk chunk)
        Called by the parser whenever a chunk is found.
        Specified by:
        record in interface ChunkGroup
      • chunksComplete

        public void chunksComplete()
        Description copied from interface: ChunkGroup
        Called by the parser when all chunks have been found.
        Specified by:
        chunksComplete in interface ChunkGroup