001package org.maltparser.core.symbol;
002
003import java.io.InputStreamReader;
004import java.io.OutputStreamWriter;
005import java.util.Set;
006
007import org.maltparser.core.exception.MaltChainedException;
008
009public interface SymbolTableHandler extends TableHandler {
010        public SymbolTable addSymbolTable(String tableName) throws MaltChainedException;
011        public SymbolTable addSymbolTable(String tableName, SymbolTable parentTable) throws MaltChainedException;
012        public SymbolTable addSymbolTable(String tableName, int columnCategory, int columnType, String nullValueStrategy) throws MaltChainedException;
013        public SymbolTable getSymbolTable(String tableName) throws MaltChainedException;
014        public Set<String> getSymbolTableNames();
015        public void cleanUp();
016        public void save(OutputStreamWriter osw) throws MaltChainedException;
017        public void save(String fileName, String charSet) throws MaltChainedException;
018        public void load(InputStreamReader isr) throws MaltChainedException;
019        public void load(String fileName, String charSet) throws MaltChainedException;
020        public SymbolTable loadTagset(String fileName, String tableName, String charSet, int columnCategory, int columnType, String nullValueStrategy) throws MaltChainedException;
021}