|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javatools.filehandlers.TSVWriter
public class TSVWriter
Constructor Summary | |
---|---|
TSVWriter(java.io.File file)
constructor take a file |
|
TSVWriter(java.lang.String path)
constructor take a string as a path |
Method Summary | |
---|---|
void |
close()
flushes and closes the writer |
void |
write(java.util.Collection<java.lang.String> values)
writes arbitrary list of values into a tsv line |
void |
write(java.lang.String... values)
writes arbitrary list of values into a tsv line |
void |
write(java.lang.String arg1,
java.lang.String relation,
java.lang.String arg2)
the main method to write facts as arg1 tab relation tab arg2 |
void |
write(java.lang.String pattern,
java.lang.String method,
java.lang.String[] factResults)
the main method to write facts as arg1 tab relation tab arg2 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TSVWriter(java.lang.String path) throws java.io.IOException
path
-
java.io.IOException
public TSVWriter(java.io.File file) throws java.io.IOException
file
-
java.io.IOException
Method Detail |
---|
public void write(java.lang.String arg1, java.lang.String relation, java.lang.String arg2) throws java.io.IOException
arg1
- relation
- arg2
-
java.io.IOException
public void write(java.lang.String pattern, java.lang.String method, java.lang.String[] factResults) throws java.io.IOException
arg1
- relation
- arg2
-
java.io.IOException
public void write(java.lang.String... values) throws java.io.IOException
java.io.IOException
- in case writing to the tsv file failspublic void write(java.util.Collection<java.lang.String> values) throws java.io.IOException
java.io.IOException
- in case writing to the tsv file failspublic void close() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |