Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class SQLite {
- private JavaScriptObject con;
- private String name;
- public SQLite(Strig name) {
- this.name = name;
- init();
- }
- public native JavaScriptObject execute(String stmt) /* --{
- return this.@th.ac.sut.SQLite::con.execute(stmt);
- }-- */;
- public native void init() /* --{
- this.@th.ac.sut.SQLite::con = new SQLite(this.@th.ac.sut.SQLite::name);
- }-- */;
- }
Add Comment
Please, Sign In to add comment