org.maltparser.core.config
Interface Configuration
- All Known Implementing Classes:
- SingleMaltConfiguration
public interface Configuration
An interface for creating different types of configurations. A MaltEngine invokes the "front-end"
methods initialize(), process() and finalize() and there are several methods for "back-end" classes to
get information from the configuration.
- Since:
- 1.0
- Author:
- Johan Hall
initialize
void initialize(Integer containerIndex)
throws MaltChainedException
- Throws:
MaltChainedException
process
void process()
throws MaltChainedException
- Throws:
MaltChainedException
finalize
void finalize()
throws MaltChainedException
- Throws:
MaltChainedException
getConfigLogger
org.apache.log4j.Logger getConfigLogger()
getName
String getName()
getMode
int getMode()
getOptionValue
Object getOptionValue(String optiongroup,
String optionname)
throws MaltChainedException
- Throws:
MaltChainedException
getOutputStreamWriter
OutputStreamWriter getOutputStreamWriter(String suffix)
throws MaltChainedException
- Throws:
MaltChainedException
getInputStreamReader
InputStreamReader getInputStreamReader(String suffix)
throws MaltChainedException
- Throws:
MaltChainedException
getFile
File getFile(String suffix)
throws MaltChainedException
- Throws:
MaltChainedException
getInfoFileWriter
BufferedWriter getInfoFileWriter()
throws MaltChainedException
- Throws:
MaltChainedException
Copyright 2007 Johan Hall, Jens Nilsson and Joakim Nivre.