Package org.apache.poi.hsmf.datatypes
Class Chunks
java.lang.Object
org.apache.poi.hsmf.datatypes.Chunks
- All Implemented Interfaces:
ChunkGroup,ChunkGroupWithProperties
Collection of convenience chunks for standard parts of the MSG file.
Not all of these will be present in any given file.
A partial list is available at:
http://msdn.microsoft.com/en-us/library/ms526356%28v=exchg.10%29.aspx
TODO Deprecate the public Chunks in favour of Property Lookups
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Chunks
public Chunks()
-
-
Method Details
-
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
-
getRawProperties
-
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
-
getMessageClass
-
getTextBodyChunk
-
getHtmlBodyChunkString
-
getHtmlBodyChunkBinary
-
getRtfBodyChunk
-
getSubjectChunk
-
getDisplayToChunk
-
getDisplayFromChunk
-
getDisplayCCChunk
-
getDisplayBCCChunk
-
getConversationTopic
-
getSentByServerType
-
getMessageHeaders
-
getSubmissionChunk
-
getEmailFromChunk
-
getMessageId
-
getMessageProperties
-
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
-