public class HashSymbolTableHandler extends java.lang.Object implements SymbolTableHandler
Constructor and Description |
---|
HashSymbolTableHandler() |
Modifier and Type | Method and Description |
---|---|
SymbolTable |
addSymbolTable(java.lang.String tableName) |
SymbolTable |
addSymbolTable(java.lang.String tableName,
int columnCategory,
int columnType,
java.lang.String nullValueStrategy) |
SymbolTable |
addSymbolTable(java.lang.String tableName,
SymbolTable parentTable) |
void |
cleanUp() |
SymbolTable |
getSymbolTable(java.lang.String tableName) |
java.util.Set<java.lang.String> |
getSymbolTableNames() |
void |
load(java.io.InputStreamReader isr) |
void |
load(java.lang.String fileName,
java.lang.String charSet) |
void |
loadHeader(java.io.BufferedReader bin) |
SymbolTable |
loadTagset(java.lang.String fileName,
java.lang.String tableName,
java.lang.String charSet,
int columnCategory,
int columnType,
java.lang.String nullValueStrategy) |
void |
save(java.io.OutputStreamWriter osw) |
void |
save(java.lang.String fileName,
java.lang.String charSet) |
public HashSymbolTableHandler()
public SymbolTable addSymbolTable(java.lang.String tableName) throws MaltChainedException
addSymbolTable
in interface SymbolTableHandler
addSymbolTable
in interface TableHandler
MaltChainedException
public SymbolTable addSymbolTable(java.lang.String tableName, int columnCategory, int columnType, java.lang.String nullValueStrategy) throws MaltChainedException
addSymbolTable
in interface SymbolTableHandler
MaltChainedException
public SymbolTable addSymbolTable(java.lang.String tableName, SymbolTable parentTable) throws MaltChainedException
addSymbolTable
in interface SymbolTableHandler
MaltChainedException
public SymbolTable getSymbolTable(java.lang.String tableName)
getSymbolTable
in interface SymbolTableHandler
getSymbolTable
in interface TableHandler
public java.util.Set<java.lang.String> getSymbolTableNames()
getSymbolTableNames
in interface SymbolTableHandler
public void cleanUp()
cleanUp
in interface SymbolTableHandler
public void save(java.io.OutputStreamWriter osw) throws MaltChainedException
save
in interface SymbolTableHandler
MaltChainedException
public void save(java.lang.String fileName, java.lang.String charSet) throws MaltChainedException
save
in interface SymbolTableHandler
MaltChainedException
public void loadHeader(java.io.BufferedReader bin) throws MaltChainedException
MaltChainedException
public void load(java.io.InputStreamReader isr) throws MaltChainedException
load
in interface SymbolTableHandler
MaltChainedException
public void load(java.lang.String fileName, java.lang.String charSet) throws MaltChainedException
load
in interface SymbolTableHandler
MaltChainedException
public SymbolTable loadTagset(java.lang.String fileName, java.lang.String tableName, java.lang.String charSet, int columnCategory, int columnType, java.lang.String nullValueStrategy) throws MaltChainedException
loadTagset
in interface SymbolTableHandler
MaltChainedException
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.