public abstract class Chunk extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_NAME_PREFIX |
| Modifier | Constructor and Description |
|---|---|
protected |
Chunk(int chunkId,
Types.MAPIType type) |
protected |
Chunk(String namePrefix,
int chunkId,
Types.MAPIType type) |
| Modifier and Type | Method and Description |
|---|---|
int |
getChunkId()
Gets the id of this chunk
|
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(InputStream value)
Reads the value of this chunk using an InputStream
|
abstract void |
writeValue(OutputStream out)
Writes the value of this chunk back out again.
|
public static final String DEFAULT_NAME_PREFIX
protected Chunk(String namePrefix, int chunkId, Types.MAPIType type)
protected Chunk(int chunkId,
Types.MAPIType type)
public int getChunkId()
public Types.MAPIType getType()
public String getEntryName()
public abstract void writeValue(OutputStream out) throws IOException
IOExceptionpublic abstract void readValue(InputStream value) throws IOException
IOException