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
A
PropertiesChunk 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_PREFIXFields inherited from class org.apache.poi.hsmf.datatypes.Chunk
DEFAULT_NAME_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionMessagePropertiesChunk(ChunkGroup parentGroup) MessagePropertiesChunk(ChunkGroup parentGroup, boolean isEmbedded) -
Method Summary
Modifier and TypeMethodDescriptionlonglonglonglongprotected voidreadProperties(InputStream stream) voidreadValue(InputStream value) Reads the value of this chunk using an InputStreamvoidsetAttachmentCount(long attachmentCount) voidsetNextAttachmentId(long nextAttachmentId) voidsetNextRecipientId(long nextRecipientId) voidsetRecipientCount(long recipientCount) protected List<PropertyValue>writeProperties(OutputStream stream) Writes the header of the properties.voidwriteValue(OutputStream stream) Writes the value of this chunk back out again.Methods inherited from class org.apache.poi.hsmf.datatypes.PropertiesChunk
getEntryName, getProperties, getRawProperties, getRawValue, getValues, matchVariableSizedPropertiesToChunks, setProperty, writeNodeData, writePropertiesMethods inherited from class org.apache.poi.hsmf.datatypes.Chunk
getChunkId, getType
-
Constructor Details
-
MessagePropertiesChunk
-
MessagePropertiesChunk
-
-
Method Details
-
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) -
readProperties
- Overrides:
readPropertiesin classPropertiesChunk- Throws:
IOException
-
readValue
Description copied from class:ChunkReads the value of this chunk using an InputStream- Specified by:
readValuein classChunk- Throws:
IOException
-
writeProperties
Description copied from class:PropertiesChunkWrites the header of the properties.- Overrides:
writePropertiesin classPropertiesChunk- Parameters:
stream- TheOutputStream.- Returns:
- The variable-length properties that need to be written in another node.
- Throws:
IOException- If an I/O error occurs.
-
writeValue
Description copied from class:ChunkWrites the value of this chunk back out again.- Specified by:
writeValuein classChunk- Throws:
IOException
-