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
|
java.lang.String |
getEntryName()
Creates a string to use to identify this chunk in the POI file system
object.
|
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
|
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.