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); }