public class MultiLangSource extends SMYLDObject implements MultiLangConstants
NEW_LINE, OS_NEW_LINEXML_NODE_ATT_ID, XML_NODE_ATT_MOD, XML_NODE_ATT_NAME, XML_NODE_ATT_TRANSLATE, XML_NODE_LANG, XML_NODE_LANGS, XML_NODE_WORD| Constructor and Description |
|---|
MultiLangSource(DBConnection dbSourceConnection) |
MultiLangSource(File xmlSourceFile) |
MultiLangSource(InputStream xmlSourceStream) |
MultiLangSource(String xmlSourceFile) |
MultiLangSource(URL xmlURL) |
| Modifier and Type | Method and Description |
|---|---|
Translator |
loadLanguage(String language) |
HashMap<String,Translator> |
loadLanguages() |
debug, getLenName, insertInstanceValue, printInstanceValues, toStringpublic MultiLangSource(String xmlSourceFile) throws IOException, org.jdom2.JDOMException
IOExceptionorg.jdom2.JDOMExceptionpublic MultiLangSource(File xmlSourceFile) throws IOException, org.jdom2.JDOMException
IOExceptionorg.jdom2.JDOMExceptionpublic MultiLangSource(InputStream xmlSourceStream) throws IOException, org.jdom2.JDOMException
IOExceptionorg.jdom2.JDOMExceptionpublic MultiLangSource(URL xmlURL) throws IOException, org.jdom2.JDOMException
IOExceptionorg.jdom2.JDOMExceptionpublic MultiLangSource(DBConnection dbSourceConnection) throws Exception
Exceptionpublic Translator loadLanguage(String language) throws LangNotFoundException
LangNotFoundExceptionpublic HashMap<String,Translator> loadLanguages()
Copyright © 2019 SMYLD. All rights reserved.