org.apache.poi.hsmf.datatypes
Class Chunk

java.lang.Object
  extended by org.apache.poi.hsmf.datatypes.Chunk
Direct Known Subclasses:
StringChunk

public abstract class Chunk
extends java.lang.Object


Field Summary
protected  int chunkId
           
protected  java.lang.String namePrefix
           
protected  int type
           
 
Constructor Summary
Chunk()
           
 
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  java.io.ByteArrayOutputStream getValueByteArray()
          Gets a reference to a ByteArrayOutputStream that contains the value of this chunk.
abstract  void setValue(java.io.ByteArrayOutputStream value)
          Sets the value of this chunk using a OutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

chunkId

protected int chunkId

type

protected int type

namePrefix

protected java.lang.String namePrefix
Constructor Detail

Chunk

public Chunk()
Method Detail

getChunkId

public int getChunkId()
Gets the id of this chunk

Returns:

getType

public int getType()
Gets the numeric type of this chunk.

Returns:

getEntryName

public java.lang.String getEntryName()
Creates a string to use to identify this chunk in the POI file system object.

Returns:

getValueByteArray

public abstract java.io.ByteArrayOutputStream getValueByteArray()
Gets a reference to a ByteArrayOutputStream that contains the value of this chunk.

Returns:

setValue

public abstract void setValue(java.io.ByteArrayOutputStream value)
Sets the value of this chunk using a OutputStream

Parameters:
value -


Copyright 2008 The Apache Software Foundation or its licensors, as applicable.