Package | Description |
---|---|
io.odysz.common | |
io.odysz.module.xtable |
Modifier and Type | Field and Description |
---|---|
protected static ILogger |
Configs.log |
Modifier and Type | Class and Description |
---|---|
class |
Log4jWrapper
FIXME this class must been removed.
|
Modifier and Type | Method and Description |
---|---|
protected static ILogger |
XMLDataFactory.getLogger() |
ILogger |
Log4jWrapper.setDebugMode(boolean isDebug) |
ILogger |
ILogger.setDebugMode(boolean isDebug)
Deprecated.
Logger can working in debug mode and release mode.
|
Modifier and Type | Method and Description |
---|---|
static 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. |
Constructor and Description |
---|
XMLFlatData(InputStream istream,
IXMLStruct xmlStruct,
ILogger logger)
load xml file at "
|
XMLFlatReader(ILogger logger,
IXMLStruct xmlStruct) |
XMLTable(String tableID,
String cols,
String pk,
ILogger log)
Construct an empty table according to cols and pk.
Table construction not finished without calling endTablePush().
|
Copyright © 2024. All rights reserved.