jxl.biff.drawing
Class DrawingData

java.lang.Object
  extended byjxl.biff.drawing.DrawingData
All Implemented Interfaces:
jxl.biff.drawing.EscherStream

public class DrawingData
extends java.lang.Object
implements jxl.biff.drawing.EscherStream

Class used to concatenate all the data for the various drawing objects into one continuous stream


Constructor Summary
DrawingData()
          Constructor
 
Method Summary
 void addData(byte[] data)
          Adds the byte stream to the drawing data
 void addRawData(byte[] data)
          Adds the data to the array without incrementing the drawing number.
 byte[] getData()
          Gets the data which was read in for the drawings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrawingData

public DrawingData()
Constructor

Method Detail

addData

public void addData(byte[] data)
Adds the byte stream to the drawing data

Parameters:
data -

addRawData

public void addRawData(byte[] data)
Adds the data to the array without incrementing the drawing number. This is used by comments, which for some bizarre and inexplicable reason split out the data


getData

public byte[] getData()
Gets the data which was read in for the drawings

Specified by:
getData in interface jxl.biff.drawing.EscherStream
Returns:
the drawing data