public class StreamWriter extends Object implements BarrelWriter
| Constructor and Description |
|---|
StreamWriter(DataOutput out)
Writer to a file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
append(BarrelReader br)
Append the given Barrel to this BarrelWriter's Barrel.
|
void |
close()
Finish all operations so that the Barrel produced is consistent.
|
public StreamWriter(DataOutput out)
out - output streampublic void append(BarrelReader br) throws IOException
BarrelWriterappend in interface BarrelWriterbr - the Barrel to appendIOException - if an I/O error occurspublic void close()
BarrelWriterclose in interface AutoCloseableclose in interface BarrelWriterCopyright © 2016 Egothor. All Rights Reserved.