org.apache.poi.hsmf.datatypes
Class AttachmentChunks
java.lang.Object
org.apache.poi.hsmf.datatypes.AttachmentChunks
- All Implemented Interfaces:
- ChunkGroup
public class AttachmentChunks
- extends java.lang.Object
- implements ChunkGroup
Collection of convenence chunks for standard parts of the MSG file attachment.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREFIX
public static final java.lang.String PREFIX
- See Also:
- Constant Field Values
attachData
public ByteChunk attachData
attachExtension
public StringChunk attachExtension
attachFileName
public StringChunk attachFileName
attachLongFileName
public StringChunk attachLongFileName
attachMimeTag
public StringChunk attachMimeTag
attachmentDirectory
public DirectoryChunk attachmentDirectory
attachRenderingWMF
public ByteChunk attachRenderingWMF
- This is in WMF Format. You'll probably want to pass it
to Apache Batik to turn it into a SVG that you can
then display.
AttachmentChunks
public AttachmentChunks(java.lang.String poifsName)
getAll
public Chunk[] getAll()
getChunks
public Chunk[] getChunks()
- Description copied from interface:
ChunkGroup
- Returns 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:
getChunks
in interface ChunkGroup
getPOIFSName
public java.lang.String getPOIFSName()
record
public void record(Chunk chunk)
- Called by the parser whenever a chunk is found.
- Specified by:
record
in interface ChunkGroup
Copyright 2012 The Apache Software Foundation or
its licensors, as applicable.