org.egothor.apps
Class Dumper

java.lang.Object
  extended by org.egothor.apps.Dumper
All Implemented Interfaces:
BarrelWriter

public class Dumper
extends java.lang.Object
implements BarrelWriter

Dumper is an application that dumps the barrel that was written by ThickBarrelOut.

Author:
Leo Galambos

Constructor Summary
Dumper()
           
 
Method Summary
 void append(BarrelReader b)
          Write contents of the Barrel to standard output.
 void appendBinary(BarrelReader b, DataOutput out)
           
 void close()
          Not implemented.
static void main(java.lang.String[] args)
          Dump the barrel that is stored in the directory specified in the first command line parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dumper

public Dumper()
Method Detail

main

public static void main(java.lang.String[] args)
Dump the barrel that is stored in the directory specified in the first command line parameter.

Parameters:
args - the directory the barrel to dump is stored in

close

public void close()
Not implemented.

Specified by:
close in interface BarrelWriter

appendBinary

public void appendBinary(BarrelReader b,
                         DataOutput out)
                  throws java.io.IOException
Throws:
java.io.IOException

append

public void append(BarrelReader b)
            throws java.io.IOException
Write contents of the Barrel to standard output.

Specified by:
append in interface BarrelWriter
Parameters:
b - a BarrelReader to read the contents of the Barrel
Throws:
java.io.IOException - if an I/O error occurs