public class DirectoryChunk extends Chunk
chunkId, DEFAULT_NAME_PREFIX, namePrefix, type| Constructor and Description |
|---|
DirectoryChunk(DirectoryNode dir,
String namePrefix,
int chunkId,
Types.MAPIType type) |
| Modifier and Type | Method and Description |
|---|---|
MAPIMessage |
getAsEmbededMessage()
Treats the directory as an embeded 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(InputStream value)
Reads the value of this chunk using an InputStream
|
void |
writeValue(OutputStream out)
Writes the value of this chunk back out again.
|
getChunkId, getEntryName, getTypepublic DirectoryChunk(DirectoryNode dir, String namePrefix, int chunkId, Types.MAPIType type)
public DirectoryNode getDirectory()
public MAPIMessage getAsEmbededMessage() throws IOException
IOExceptionpublic void readValue(InputStream value)
Chunkpublic void writeValue(OutputStream out)
ChunkwriteValue in class ChunkCopyright © 2019. All rights reserved.