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.
(将目录视为嵌入的 MAPIMessage(通常是一个),并返回一个 MAPIMessage 对象来处理它。)
|
DirectoryNode |
getDirectory()
Returns the directory entry for this chunk.
(返回此块的目录条目。)
|
void |
readValue(java.io.InputStream value)
Reads the value of this chunk using an InputStream
(使用 InputStream 读取此块的值)
|
void |
writeValue(java.io.OutputStream out)
Writes the value of this chunk back out again.
(再次写出这个块的值。)
|
getChunkId, getEntryName, getType
public DirectoryChunk(DirectoryNode dir, java.lang.String namePrefix, int chunkId, Types.MAPIType type)
public DirectoryNode getDirectory()
public MAPIMessage getAsEmbeddedMessage() throws java.io.IOException
java.io.IOException
(java.io.IOException)
public void readValue(java.io.InputStream value)
Chunk
public void writeValue(java.io.OutputStream out)
Chunk
writeValue
in class
Chunk
(类 Chunk 中的 writeValue)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.