|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.egothor.apps.Extractor
public class Extractor
Extractor is an application that dumps the barrel into a stream of tuples.
Constructor Summary | |
---|---|
Extractor(java.lang.String terms,
java.lang.String output)
|
Method Summary | |
---|---|
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(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 |
---|
public Extractor(java.lang.String terms, java.lang.String output) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- the directory the barrel to dump is stored inpublic void close()
BarrelWriter
close
in interface BarrelWriter
public void append(BarrelReader b) throws java.io.IOException
append
in interface BarrelWriter
b
- a BarrelReader to read the contents of the Barrel
java.io.IOException
- if an I/O error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |