org.apache.poi.hsmf.datatypes
Class StringChunk

java.lang.Object
  extended by org.apache.poi.hsmf.datatypes.Chunk
      extended by org.apache.poi.hsmf.datatypes.StringChunk

public class StringChunk
extends Chunk

A Chunk made up of a single string.

Author:
Travis Ferguson

Field Summary
 
Fields inherited from class org.apache.poi.hsmf.datatypes.Chunk
chunkId, namePrefix, type
 
Constructor Summary
StringChunk(int chunkId)
           
 
Method Summary
 java.io.ByteArrayOutputStream getValueByteArray()
          Gets a reference to a ByteArrayOutputStream that contains the value of this chunk.
 void setValue(java.io.ByteArrayOutputStream value)
          Sets the value of this chunk using a OutputStream
 java.lang.String toString()
           
 
Methods inherited from class org.apache.poi.hsmf.datatypes.Chunk
getChunkId, getEntryName, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringChunk

public StringChunk(int chunkId)
Method Detail

getValueByteArray

public java.io.ByteArrayOutputStream getValueByteArray()
Description copied from class: Chunk
Gets a reference to a ByteArrayOutputStream that contains the value of this chunk.

Specified by:
getValueByteArray in class Chunk
Returns:

setValue

public void setValue(java.io.ByteArrayOutputStream value)
Description copied from class: Chunk
Sets the value of this chunk using a OutputStream

Specified by:
setValue in class Chunk

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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