public class KittySQLiteAssetsFileDumpScript extends KittySQLiteDumpScript
sqlScript
Constructor and Description |
---|
KittySQLiteAssetsFileDumpScript(java.lang.String assetsDumpLocation,
android.content.Context ctx) |
Modifier and Type | Method and Description |
---|---|
java.util.LinkedList<KittySQLiteQuery> |
readFromDump(java.lang.Object... params)
Reads sql dump from specified file to object
|
void |
saveToDump(java.util.LinkedList<KittySQLiteQuery> sqlScript)
Saves input string representation of SQLite sql script to specified path
Doesn't work in this implementation, because it is impossible to writ to assets |
getSqlScript
public KittySQLiteAssetsFileDumpScript(java.lang.String assetsDumpLocation, android.content.Context ctx)
public void saveToDump(java.util.LinkedList<KittySQLiteQuery> sqlScript)
saveToDump
in class KittySQLiteDumpScript
sqlScript
- sqlite script to savepublic java.util.LinkedList<KittySQLiteQuery> readFromDump(java.lang.Object... params)
readFromDump
in class KittySQLiteDumpScript
params
- misc parametersKittyRuntimeException
- if errors