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_PREFIX
Fields 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 TypeMethodDescriptionlong
long
long
long
protected void
readProperties
(InputStream stream) void
readValue
(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) protected List<PropertyValue>
writeProperties
(OutputStream stream) Writes the header of the properties.void
writeValue
(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, writeProperties
Methods 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:
readProperties
in classPropertiesChunk
- Throws:
IOException
-
readValue
Description copied from class:Chunk
Reads the value of this chunk using an InputStream- Specified by:
readValue
in classChunk
- Throws:
IOException
-
writeProperties
Description copied from class:PropertiesChunk
Writes the header of the properties.- Overrides:
writeProperties
in 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:Chunk
Writes the value of this chunk back out again.- Specified by:
writeValue
in classChunk
- Throws:
IOException
-