MaltParser 1.0.1

org.maltparser.core.dataformat.writer
Class TabWriter

java.lang.Object
  extended by org.maltparser.core.dataformat.writer.TabWriter
All Implemented Interfaces:
DataWriter

public class TabWriter
extends Object
implements DataWriter

Since:
1.0
Author:
Johan Hall

Constructor Summary
TabWriter()
           
 
Method Summary
 void close()
           
 BufferedWriter getWriter()
           
 void initialize(OutputStreamWriter osw)
           
 void initialize(String fileName, String charsetName)
           
 void setWriter(BufferedWriter writer)
           
 void writeEpilog()
           
 void writeProlog()
           
 void writeSentence(DependencyGraph dependencyGraph)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabWriter

public TabWriter()
Method Detail

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

MaltParser 1.0.1

Copyright 2007 Johan Hall, Jens Nilsson and Joakim Nivre.