示例#1
0
 public static void importSettingsFromXml(String file, SQLiteDatabase db)
     throws SAXException, IOException {
   Reader reader = new InputStreamReader(new FileInputStream(file));
   SqliteElement.importXmlStreamToDb(db, reader, ReplaceStrategy.REPLACE_EXISTING);
 }