|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hsmf.datatypes.Chunk
public abstract class Chunk
Field Summary | |
---|---|
protected int |
chunkId
|
static java.lang.String |
DEFAULT_NAME_PREFIX
|
protected java.lang.String |
namePrefix
|
protected int |
type
|
Constructor Summary | |
---|---|
protected |
Chunk(int chunkId,
int type)
|
protected |
Chunk(java.lang.String namePrefix,
int chunkId,
int type)
|
Method Summary | |
---|---|
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. |
int |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_NAME_PREFIX
protected int chunkId
protected int type
protected java.lang.String namePrefix
Constructor Detail |
---|
protected Chunk(java.lang.String namePrefix, int chunkId, int type)
protected Chunk(int chunkId, int type)
Method Detail |
---|
public int getChunkId()
public int 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |