Package | Description |
---|---|
io.odysz.module.xtable |
Modifier and Type | Class and Description |
---|---|
class |
XMLDefaultStruct |
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.
|
protected static XMLFlatData |
XMLDataFactory.getXMLData(String dataName,
InputStream istream,
IXMLStruct xmlStruct,
boolean forceReload) |
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. |
static void |
XMLDataFactory.writeTables(IXMLStruct xmlStrct,
String fullpath,
XMLTable[] tables) |
static void |
XMLDataFactoryEx.writeTables(IXMLStruct xmlStrct,
String fullpath,
XMLTable[] tables)
Write xtables (mapping info) into mapping file (fullpath).
|
Constructor and Description |
---|
XMLFlatData(InputStream istream,
IXMLStruct xmlStruct,
ILogger logger)
load xml file at "
|
XMLFlatReader(ILogger logger,
IXMLStruct xmlStruct) |
Copyright © 2024. All rights reserved.