public abstract class Chunk extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
chunkId |
static String |
DEFAULT_NAME_PREFIX |
protected String |
namePrefix |
protected Types.MAPIType |
type |
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 int chunkId
protected Types.MAPIType type
protected String namePrefix
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
IOException
public abstract void readValue(InputStream value) throws IOException
IOException
Copyright © 2020. All rights reserved.