public class Extractor extends Object implements BarrelWriter
| Modifier and Type | Method and Description |
|---|---|
void |
append(BarrelReader b)
Write contents of the Barrel to standard output.
|
void |
close()
Finish all operations so that the Barrel produced is consistent.
|
static void |
main(String[] args)
Dump the barrel that is stored in the directory specified in the
first command line parameter.
|
public Extractor(String terms, String output) throws IOException
terms - output - IOExceptionpublic static void main(String[] args)
args - the directory the barrel to dump is stored inpublic void close()
BarrelWriterclose in interface AutoCloseableclose in interface BarrelWriterpublic void append(BarrelReader b) throws IOException
append in interface BarrelWriterb - a BarrelReader to read the contents of the BarrelIOException - if an I/O error occursCopyright © 2016 Egothor. All Rights Reserved.