public abstract class Chunk
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_NAME_PREFIX |
Modifier | Constructor and Description |
---|---|
protected |
Chunk(int chunkId, Types.MAPIType type) |
protected |
Chunk(java.lang.String namePrefix, int chunkId, Types.MAPIType type) |
Modifier and Type | Method and Description |
---|---|
int |
getChunkId()
Gets the id of this chunk
(获取此块的 id)
|
java.lang.String |
getEntryName()
Creates a string to use to identify this chunk in the POI file system object.
(创建一个字符串,用于在 POI 文件系统对象中标识此块。)
|
Types.MAPIType |
getType()
Gets the numeric type of this chunk.
(获取此块的数字类型。)
|
abstract void |
readValue(java.io.InputStream value)
Reads the value of this chunk using an InputStream
(使用 InputStream 读取此块的值)
|
abstract void |
writeValue(java.io.OutputStream out)
Writes the value of this chunk back out again.
(再次写出这个块的值。)
|
public static final java.lang.String DEFAULT_NAME_PREFIX
protected Chunk(java.lang.String namePrefix, int chunkId, Types.MAPIType type)
protected Chunk(int chunkId, Types.MAPIType type)
public int getChunkId()
public Types.MAPIType getType()
public java.lang.String getEntryName()
public abstract void writeValue(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
()
public abstract void readValue(java.io.InputStream value) throws java.io.IOException
java.io.IOException
()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.