public class Dumper extends Object implements BarrelWriter
ThickBarrelOut
.Constructor and Description |
---|
Dumper() |
Modifier and Type | Method and Description |
---|---|
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(String[] args)
Dump the barrel that is stored in the directory specified in the
first command line parameter.
|
public static void main(String[] args)
args
- the directory the barrel to dump is stored inpublic void close()
close
in interface AutoCloseable
close
in interface BarrelWriter
public void appendBinary(BarrelReader b, DataOutput out) throws IOException
b
- out
- IOException
public void append(BarrelReader b) throws IOException
append
in interface BarrelWriter
b
- a BarrelReader to read the contents of the BarrelIOException
- if an I/O error occursCopyright © 2016 Egothor. All Rights Reserved.