|
||||||||||
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 convenience chunks for standard parts of the MSG file attachment.
Nested Class Summary | |
---|---|
static class |
AttachmentChunks.AttachmentChunksSorter
Orders by the attachment number. |
Field Summary | |
---|---|
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()
|
StringChunk |
getAttachContentId()
|
ByteChunk |
getAttachData()
|
StringChunk |
getAttachExtension()
|
StringChunk |
getAttachFileName()
|
StringChunk |
getAttachLongFileName()
|
DirectoryChunk |
getAttachmentDirectory()
|
StringChunk |
getAttachMimeTag()
|
ByteChunk |
getAttachRenderingWMF()
|
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 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 ByteChunk getAttachData()
public StringChunk getAttachExtension()
public StringChunk getAttachFileName()
public StringChunk getAttachLongFileName()
public StringChunk getAttachMimeTag()
public DirectoryChunk getAttachmentDirectory()
public ByteChunk getAttachRenderingWMF()
public StringChunk getAttachContentId()
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 |