org.liblouis.Table Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liblouis-java Show documentation
Show all versions of liblouis-java Show documentation
JNA based Java bindings to liblouis, an open-source braille translator and back-translator.
package org.liblouis;
public class Table {
private final String table;
private final TableInfo info;
private Translator translator = null;
Table(String table) {
this.table = table;
this.info = new TableInfo(table);
}
public TableInfo getInfo() {
return info;
}
public Translator getTranslator() throws CompilationException {
if (translator == null)
translator = new Translator(table);
return translator;
}
}