public class EscherDump
extends java.lang.Object
Constructor and Description |
---|
EscherDump() |
Modifier and Type | Method and Description |
---|---|
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.
|
public void dump(byte[] data, int offset, int size, java.io.PrintStream out) throws java.io.IOException, LittleEndian.BufferUnderrunException
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.java.io.IOException
LittleEndian.BufferUnderrunException
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
LittleEndian.BufferUnderrunException
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
public void dump(int recordSize, byte[] data, java.io.PrintStream out) throws java.io.IOException, LittleEndian.BufferUnderrunException
java.io.IOException
LittleEndian.BufferUnderrunException
Copyright © 2014 Open Microscopy Environment