Package org.apache.poi.hsmf.datatypes
Class RecipientChunks
java.lang.Object
org.apache.poi.hsmf.datatypes.RecipientChunks
- All Implemented Interfaces:
ChunkGroup,ChunkGroupWithProperties
Collection of convenience chunks for the Recip(ient) part of an outlook file.
If a message has multiple recipients, there will be several of these.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classOrders by the recipient number. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MAPIPropertystatic final Stringstatic final MAPIPropertystatic final MAPIPropertystatic final MAPIPropertystatic final MAPIPropertystatic final MAPIProperty -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled by the parser when all chunks have been found.Chunk[]getAll()Chunk[]Returns the chunks that make up the group.Returns all the Properties contained in the Chunk, along with their Values.Tries to find their email address, in whichever chunk holds it given the delivery type.Tries to find their name, in whichever chunk holds it.intvoidCalled by the parser whenever a chunk is found.
-
Field Details
-
PREFIX
- See Also:
-
RECIPIENT_NAME
-
DELIVERY_TYPE
-
RECIPIENT_EMAIL_ADDRESS
-
RECIPIENT_SEARCH
-
RECIPIENT_SMTP_ADDRESS
-
RECIPIENT_DISPLAY_NAME
-
-
Constructor Details
-
RecipientChunks
-
-
Method Details
-
getRecipientNumber
public int getRecipientNumber() -
getRecipientSearchChunk
-
getRecipientNameChunk
-
getRecipientEmailChunk
-
getRecipientSMTPChunk
-
getDeliveryTypeChunk
-
getRecipientDisplayNameChunk
-
getRecipientName
Tries to find their name, in whichever chunk holds it. -
getRecipientEmailAddress
Tries to find their email address, in whichever chunk holds it given the delivery type. -
getProperties
Description copied from interface:ChunkGroupWithPropertiesReturns 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 thePropertyValue. For variable sized properties, you'll need to go via the chunk.- Specified by:
getPropertiesin interfaceChunkGroupWithProperties
-
getAll
-
getChunks
Description copied from interface:ChunkGroupReturns 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:
getChunksin interfaceChunkGroup
-
record
Called by the parser whenever a chunk is found.- Specified by:
recordin interfaceChunkGroup
-
chunksComplete
public void chunksComplete()Description copied from interface:ChunkGroupCalled by the parser when all chunks have been found.- Specified by:
chunksCompletein interfaceChunkGroup
-