public static DocumentTable charsToTable(char[] ch, SymbolTable symbols) throws DTSMException {
if ( ch != null ) {
TextTableGenerator ttg = new TextTableGenerator(ch);
ttg.setSymbolTable(symbols);
return ttg.process();
}
else
throw new DTSMException("Char array is null");
}