Package org.apache.poi.hsmf.datatypes
Class MessagePropertiesChunk
- java.lang.Object
-
- org.apache.poi.hsmf.datatypes.Chunk
-
- org.apache.poi.hsmf.datatypes.PropertiesChunk
-
- org.apache.poi.hsmf.datatypes.MessagePropertiesChunk
-
public class MessagePropertiesChunk extends PropertiesChunk
APropertiesChunk
for a Message or Embedded-Message. This has a 32 byte header
-
-
Field Summary
-
Fields inherited from class org.apache.poi.hsmf.datatypes.PropertiesChunk
NAME, PROPERTIES_FLAG_READABLE, PROPERTIES_FLAG_WRITEABLE, VARIABLE_LENGTH_PROPERTY_PREFIX
-
Fields inherited from class org.apache.poi.hsmf.datatypes.Chunk
DEFAULT_NAME_PREFIX
-
-
Constructor Summary
Constructors Constructor Description MessagePropertiesChunk(ChunkGroup parentGroup)
MessagePropertiesChunk(ChunkGroup parentGroup, boolean isEmbedded)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getAttachmentCount()
long
getNextAttachmentId()
long
getNextRecipientId()
long
getRecipientCount()
void
readValue(java.io.InputStream value)
Reads the value of this chunk using an InputStreamvoid
setAttachmentCount(long attachmentCount)
void
setNextAttachmentId(long nextAttachmentId)
void
setNextRecipientId(long nextRecipientId)
void
setRecipientCount(long recipientCount)
void
writeValue(java.io.OutputStream stream)
Writes the value of this chunk back out again.-
Methods inherited from class org.apache.poi.hsmf.datatypes.PropertiesChunk
getEntryName, getMaxRecordLength, getProperties, getRawProperties, getRawValue, getValues, setMaxRecordLength, setProperty, writeProperties
-
Methods inherited from class org.apache.poi.hsmf.datatypes.Chunk
getChunkId, getType
-
-
-
-
Constructor Detail
-
MessagePropertiesChunk
public MessagePropertiesChunk(ChunkGroup parentGroup)
-
MessagePropertiesChunk
public MessagePropertiesChunk(ChunkGroup parentGroup, boolean isEmbedded)
-
-
Method Detail
-
getNextRecipientId
public long getNextRecipientId()
-
getNextAttachmentId
public long getNextAttachmentId()
-
getRecipientCount
public long getRecipientCount()
-
getAttachmentCount
public long getAttachmentCount()
-
setNextRecipientId
public void setNextRecipientId(long nextRecipientId)
-
setNextAttachmentId
public void setNextAttachmentId(long nextAttachmentId)
-
setRecipientCount
public void setRecipientCount(long recipientCount)
-
setAttachmentCount
public void setAttachmentCount(long attachmentCount)
-
readValue
public void readValue(java.io.InputStream value) throws java.io.IOException
Description copied from class:Chunk
Reads the value of this chunk using an InputStream
-
writeValue
public void writeValue(java.io.OutputStream stream) throws java.io.IOException
Description copied from class:Chunk
Writes the value of this chunk back out again.- Specified by:
writeValue
in classChunk
- Throws:
java.io.IOException
-
-