Package org.apache.poi.hsmf.datatypes
Class MessageSubmissionChunk
java.lang.Object
org.apache.poi.hsmf.datatypes.Chunk
org.apache.poi.hsmf.datatypes.MessageSubmissionChunk
A Chunk that holds the details given back by the server at submission time.
This includes the date the message was given to the server, and an ID that's
used if you want to cancel a message or similar
-
Field Summary
Fields inherited from class org.apache.poi.hsmf.datatypes.Chunk
DEFAULT_NAME_PREFIX
-
Constructor Summary
ConstructorsConstructorDescriptionMessageSubmissionChunk
(int chunkId, Types.MAPIType type) Create a Byte Chunk, with the specified type.MessageSubmissionChunk
(String namePrefix, int chunkId, Types.MAPIType type) Creates a Byte Chunk. -
Method Summary
Modifier and TypeMethodDescriptionvoid
readValue
(InputStream value) Reads the value of this chunk using an InputStreamvoid
writeValue
(OutputStream out) Writes the value of this chunk back out again.Methods inherited from class org.apache.poi.hsmf.datatypes.Chunk
getChunkId, getEntryName, getType
-
Constructor Details
-
MessageSubmissionChunk
Creates a Byte Chunk. -
MessageSubmissionChunk
Create a Byte Chunk, with the specified type.
-
-
Method Details
-
readValue
Description copied from class:Chunk
Reads the value of this chunk using an InputStream- Specified by:
readValue
in classChunk
- Throws:
IOException
-
writeValue
Description copied from class:Chunk
Writes the value of this chunk back out again.- Specified by:
writeValue
in classChunk
- Throws:
IOException
-
getAcceptedAtTime
- Returns:
- the date that the server accepted the message, as found from the message ID it generated.
-
getSubmissionId
- Returns:
- the full ID that the server generated when it accepted the message.
-