| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.poi.ddf.EscherDump
public final class EscherDump
Used to dump the contents of escher records to a PrintStream.
| Constructor Summary | |
|---|---|
| EscherDump() | |
| Method Summary | |
|---|---|
|  void | dump(byte[] data,
     int offset,
     int size,
     java.io.PrintStream out)Decodes the escher stream from a byte array and dumps the results to a print stream. | 
|  void | dump(int recordSize,
     byte[] data,
     java.io.PrintStream out) | 
|  void | dumpOld(long maxLength,
        java.io.InputStream in,
        java.io.PrintStream out)This version of dump is a translation from the open office escher dump routine. | 
| static void | main(java.lang.String[] args)A simple test stub. | 
| static void | main(java.lang.String[] args,
     java.io.PrintStream out) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public EscherDump()
| Method Detail | 
|---|
public void dump(byte[] data,
                 int offset,
                 int size,
                 java.io.PrintStream out)
data - The data array containing the escher records.offset - The starting offset within the data array.size - The number of bytes to read.out - The output stream to write the results to.
public void dumpOld(long maxLength,
                    java.io.InputStream in,
                    java.io.PrintStream out)
             throws java.io.IOException,
                    LittleEndian.BufferUnderrunException
maxLength - The number of bytes to readin - An input stream to read from.out - An output stream to write to.
java.io.IOException - if the data can't be read or written
LittleEndian.BufferUnderrunException - if an buffer underrun occurspublic static void main(java.lang.String[] args)
args - the args
public static void main(java.lang.String[] args,
                        java.io.PrintStream out)
public void dump(int recordSize,
                 byte[] data,
                 java.io.PrintStream out)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||