org.maltparser.core.dataformat.writer
Class TabWriter
java.lang.Object
org.maltparser.core.dataformat.writer.TabWriter
- All Implemented Interfaces:
- DataWriter
public class TabWriter
- extends Object
- implements DataWriter
- Since:
- 1.0
- Author:
- Johan Hall
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TabWriter
public TabWriter()
initialize
public void initialize(String fileName,
String charsetName)
throws MaltChainedException
- Specified by:
initialize
in interface DataWriter
- Throws:
MaltChainedException
initialize
public void initialize(OutputStreamWriter osw)
throws MaltChainedException
- Specified by:
initialize
in interface DataWriter
- Throws:
MaltChainedException
writeProlog
public void writeProlog()
throws MaltChainedException
- Specified by:
writeProlog
in interface DataWriter
- Throws:
MaltChainedException
writeSentence
public void writeSentence(DependencyGraph dependencyGraph)
throws MaltChainedException
- Specified by:
writeSentence
in interface DataWriter
- Throws:
MaltChainedException
writeEpilog
public void writeEpilog()
throws MaltChainedException
- Specified by:
writeEpilog
in interface DataWriter
- Throws:
MaltChainedException
getWriter
public BufferedWriter getWriter()
setWriter
public void setWriter(BufferedWriter writer)
close
public void close()
throws MaltChainedException
- Specified by:
close
in interface DataWriter
- Throws:
MaltChainedException
Copyright 2007 Johan Hall, Jens Nilsson and Joakim Nivre.