Uses of Interface
io.odysz.module.xtable.ILogger
-
Uses of ILogger in io.odysz.common
-
Uses of ILogger in io.odysz.module.xtable
Modifier and TypeMethodDescriptionprotected static ILogger
XMLDataFactory.getLogger()
ILogger.setDebugMode
(boolean isDebug) Deprecated.Logger can working in debug mode and release mode.Log4jWrapper.setDebugMode
(boolean isDebug) Modifier and TypeMethodDescriptionstatic XMLTable
XMLDataFactory.buildTable
(String sourceID, ILogger androidLogger, String newTableID, String fromStructureOfTableID, ArrayList<String[]> fromList, String targetFullpath, IXMLStruct xmlStruct) Construct a new table.
Copy data structure from 'fromTableID', copy data from 'fromList'static XMLTable
XMLDataFactory.getTable
(ILogger androidLogger, String tableID, InputStream istream, IXMLStruct xmlStruct) static XMLTable
XMLDataFactory.getTable
(ILogger logger, String tableID, String fromFullpath, IXMLStruct xmlStruct) Usage ex.:
InputStream istr = res.getAssets().open(configName + ".xml");
IXMLStruct xmlStruct = new IXMLStruct() {
@Override public String rootTag() { return "xtables"; }
@Override public String tableTag() { return "table"; }
@Override public String recordTag() { return "record"; }
};
ILogger logger = new Logger();
skintable = XMLDataFactory.getTable(logger, configTablename, istr, xmlStruct);static XMLTable
XMLDataFactory.getTable
(String sourceID, ILogger androidLogger, String tableID, InputStream istream, IXMLStruct xmlStruct) static XMLTable
XMLDataFactory.getTable
(String sourceID, ILogger androidLogger, String tableID, InputStream istream, IXMLStruct xmlStruct, boolean reload) static XMLTable
XMLDataFactory.getTable
(String sourceID, ILogger androidLogger, String tableID, String fromFullpath, IXMLStruct xmlStruct) static XMLTable
XMLDataFactory.getTable
(String sourceID, ILogger androidLogger, String tableID, String fromFullpath, IXMLStruct xmlStruct, boolean reload) static XMLTable
XMLDataFactory.getTableReusing
(String sourceID, ILogger androidLogger, String tableID, IXMLStruct xmlStruct) Get a table, don't reload.static LinkedHashMap<String,
XMLTable> XMLDataFactoryEx.getXtables
(ILogger logger, String targetFullpath, IXMLStruct xmlStruct) Construct a new table.
Not xml table data are buffered - for release memory.ModifierConstructorDescriptionXMLFlatData
(InputStream istream, IXMLStruct xmlStruct, ILogger logger) load xml file at "", parse into map XMLFlatReader
(ILogger logger, IXMLStruct xmlStruct) Construct an empty table according to cols and pk. Table construction not finished without calling endTablePush().