public class DirectoryChunk extends Chunk
DEFAULT_NAME_PREFIX| Constructor and Description |
|---|
DirectoryChunk(DirectoryNode dir,
java.lang.String namePrefix,
int chunkId,
Types.MAPIType type) |
| Modifier and Type | Method and Description |
|---|---|
MAPIMessage |
getAsEmbeddedMessage()
Treats the directory as an embedded MAPIMessage (it normally is one), and
returns a MAPIMessage object to process it with.
|
DirectoryNode |
getDirectory()
Returns the directory entry for this chunk.
|
void |
readValue(java.io.InputStream value)
Reads the value of this chunk using an InputStream
|
void |
writeValue(java.io.OutputStream out)
Writes the value of this chunk back out again.
|
getChunkId, getEntryName, getTypepublic DirectoryChunk(DirectoryNode dir, java.lang.String namePrefix, int chunkId, Types.MAPIType type)
public DirectoryNode getDirectory()
public MAPIMessage getAsEmbeddedMessage() throws java.io.IOException
java.io.IOExceptionpublic void readValue(java.io.InputStream value)
Chunkpublic void writeValue(java.io.OutputStream out)
ChunkwriteValue in class ChunkCopyright 2021 The Apache Software Foundation or its licensors, as applicable.