|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hsmf.datatypes.AttachmentChunks
public class AttachmentChunks
Collection of convenence chunks for standard parts of the MSG file attachment.
Nested Class Summary | |
---|---|
static class |
AttachmentChunks.AttachmentChunksSorter
Orders by the attachment number. |
Field Summary | |
---|---|
ByteChunk |
attachData
|
StringChunk |
attachExtension
|
StringChunk |
attachFileName
|
StringChunk |
attachLongFileName
|
DirectoryChunk |
attachmentDirectory
|
StringChunk |
attachMimeTag
|
ByteChunk |
attachRenderingWMF
This is in WMF Format. |
static java.lang.String |
PREFIX
|
Constructor Summary | |
---|---|
AttachmentChunks(java.lang.String poifsName)
|
Method Summary | |
---|---|
void |
chunksComplete()
Used to flag that all the chunks of the attachment have now been located. |
Chunk[] |
getAll()
|
Chunk[] |
getChunks()
Returns the chunks that make up the group. |
byte[] |
getEmbeddedAttachmentObject()
Returns the embedded object, if the attachment is an object based embedding (image, document etc), or null if it's an embedded message |
MAPIMessage |
getEmbeddedMessage()
Returns the embedded MAPI message, if the attachment is an embedded message, or null otherwise |
java.lang.String |
getPOIFSName()
|
boolean |
isEmbeddedMessage()
Is this Attachment an embedded MAPI message? |
void |
record(Chunk chunk)
Called by the parser whenever a chunk is found. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PREFIX
public ByteChunk attachData
public StringChunk attachExtension
public StringChunk attachFileName
public StringChunk attachLongFileName
public StringChunk attachMimeTag
public DirectoryChunk attachmentDirectory
public ByteChunk attachRenderingWMF
Constructor Detail |
---|
public AttachmentChunks(java.lang.String poifsName)
Method Detail |
---|
public boolean isEmbeddedMessage()
public MAPIMessage getEmbeddedMessage() throws java.io.IOException
java.io.IOException
public byte[] getEmbeddedAttachmentObject()
public Chunk[] getAll()
public Chunk[] getChunks()
ChunkGroup
getChunks
in interface ChunkGroup
public java.lang.String getPOIFSName()
public void record(Chunk chunk)
record
in interface ChunkGroup
public void chunksComplete()
chunksComplete
in interface ChunkGroup
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |