ChunkGroup
, ChunkGroupWithProperties
public final class Chunks extends java.lang.Object implements ChunkGroupWithProperties
Modifier and Type | Field | Description |
---|---|---|
StringChunk |
conversationTopic |
Sort of like the subject line, but without the RE: and FWD: parts.
|
StringChunk |
displayBCCChunk |
Value that shows in the BCC field
|
StringChunk |
displayCCChunk |
value that shows in the CC field
|
StringChunk |
displayFromChunk |
Value that is in the FROM field
|
StringChunk |
displayToChunk |
Value that is in the TO field (not actually the addresses as they are
stored in recip directory nodes
|
StringChunk |
emailFromChunk |
TODO
|
ByteChunk |
htmlBodyChunkBinary |
|
StringChunk |
htmlBodyChunkString |
BODY Html Chunk, for html messages
|
StringChunk |
messageClass |
Type of message that the MSG represents (ie.
|
StringChunk |
messageHeaders |
The email headers
|
StringChunk |
messageId |
The message ID
|
ByteChunk |
rtfBodyChunk |
BODY Rtf Chunk, for Rtf (Rich) messages
|
StringChunk |
sentByServerType |
Type of server that the message originated from (SMTP, etc).
|
StringChunk |
subjectChunk |
Subject link chunk, in plain/text
|
MessageSubmissionChunk |
submissionChunk |
TODO
|
StringChunk |
textBodyChunk |
BODY Chunk, for plain/text messages
|
Constructor | Description |
---|---|
Chunks() |
Modifier and Type | Method | Description |
---|---|---|
void |
chunksComplete() |
Called by the parser when all chunks have been found.
|
java.util.Map<MAPIProperty,java.util.List<Chunk>> |
getAll() |
|
Chunk[] |
getChunks() |
Returns the chunks that make up the group.
|
java.util.Map<MAPIProperty,java.util.List<PropertyValue>> |
getProperties() |
Returns all the Properties contained in the Chunk, along
with their Values.
|
java.util.Map<MAPIProperty,PropertyValue> |
getRawProperties() |
|
void |
record(Chunk chunk) |
Called by the parser whenever a chunk is found.
|
public StringChunk messageClass
public StringChunk textBodyChunk
public StringChunk htmlBodyChunkString
public ByteChunk htmlBodyChunkBinary
public ByteChunk rtfBodyChunk
public StringChunk subjectChunk
public StringChunk displayToChunk
public StringChunk displayFromChunk
public StringChunk displayCCChunk
public StringChunk displayBCCChunk
public StringChunk conversationTopic
public StringChunk sentByServerType
public StringChunk messageHeaders
public MessageSubmissionChunk submissionChunk
public StringChunk emailFromChunk
public StringChunk messageId
public java.util.Map<MAPIProperty,java.util.List<PropertyValue>> getProperties()
ChunkGroupWithProperties
PropertyValue
. For variable
sized properties, you'll need to go via the chunk.getProperties
in interface ChunkGroupWithProperties
public java.util.Map<MAPIProperty,PropertyValue> getRawProperties()
public java.util.Map<MAPIProperty,java.util.List<Chunk>> getAll()
public Chunk[] getChunks()
ChunkGroup
getChunks
in interface ChunkGroup
public void record(Chunk chunk)
record
in interface ChunkGroup
public void chunksComplete()
ChunkGroup
chunksComplete
in interface ChunkGroup
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.