public final class GlossaryReaderTBX
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GlossaryReaderTBX.NamespaceFilter |
Modifier and Type | Field and Description |
---|---|
protected static javax.xml.bind.JAXBContext |
TBX_CONTEXT |
Modifier and Type | Method and Description |
---|---|
protected static void |
appendDescOrNote(java.util.List<?> list,
java.lang.StringBuilder str)
Add description or note into StringBuilder.
|
protected static void |
appendLine(java.lang.StringBuilder str,
java.lang.String line) |
static java.util.List<GlossaryEntry> |
read(java.io.File file,
boolean priorityGlossary) |
static java.util.List<GlossaryEntry> |
read(java.lang.String data,
boolean priorityGlossary,
java.lang.String origin) |
protected static java.lang.String |
readContent(java.util.List<java.lang.Object> content) |
static java.util.List<GlossaryEntry> |
readMartif(Martif tbx,
boolean priorityGlossary,
java.lang.String origin) |
public static java.util.List<GlossaryEntry> read(java.io.File file, boolean priorityGlossary) throws java.lang.Exception
java.lang.Exception
public static java.util.List<GlossaryEntry> read(java.lang.String data, boolean priorityGlossary, java.lang.String origin) throws java.lang.Exception
java.lang.Exception
public static java.util.List<GlossaryEntry> readMartif(Martif tbx, boolean priorityGlossary, java.lang.String origin) throws java.lang.Exception
java.lang.Exception
protected static void appendDescOrNote(java.util.List<?> list, java.lang.StringBuilder str)
protected static void appendLine(java.lang.StringBuilder str, java.lang.String line)
protected static java.lang.String readContent(java.util.List<java.lang.Object> content)