de.bezier.data.sql
Class SQLite

java.lang.Object
  extended by de.bezier.data.sql.SQL
      extended by de.bezier.data.sql.SQLite

public class SQLite
extends SQL

SQLite wrapper for SQL library for Processing 1.0

A wrapper around some of sun's java.sql.* classes and the pure java "org.sqlite.JDBC" driver by zentus.com (BSD).

see:

Since:
0.0.7
Author:
Florian Jenett - mail@florianjenett.de created: 2008-11-29 12:15:15 - fjenett modified: fjenett 20081129

Field Summary
 
Fields inherited from class de.bezier.data.sql.SQL
connection, database, driver, previousQuery, result, server, statement, type, url, user
 
Constructor Summary
SQLite(processing.core.PApplet _papplet, java.lang.String _database)
          Creates a new SQLite connection.
SQLite(processing.core.PApplet _papplet, java.lang.String _server, java.lang.String _database, java.lang.String _user, java.lang.String _pass)
          Creates a new SQLite connection, same as SQLite( PApplet, String )
 
Method Summary
 
Methods inherited from class de.bezier.data.sql.SQL
close, connect, dispose, execute, getBigDecimal, getBigDecimal, getBoolean, getBoolean, getDate, getDate, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getObject, getObject, getString, getString, getTime, getTime, getTimestamp, getTimestamp, next, query
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLite

public SQLite(processing.core.PApplet _papplet,
              java.lang.String _database)
Creates a new SQLite connection.

Parameters:
_papplet - Your sketch, pass "this" in here
_database - Path to the database file, if this is just a name the data and sketch folders are searched for the file

SQLite

public SQLite(processing.core.PApplet _papplet,
              java.lang.String _server,
              java.lang.String _database,
              java.lang.String _user,
              java.lang.String _pass)
Creates a new SQLite connection, same as SQLite( PApplet, String )

Parameters:
_papplet - Your sketch, pass "this" in here
_server - Ignored
_database - Path to the database file, if this is just a name the data and sketch folders are searched for the file
_user - Ignored
_pass - Ignored


processing library SQLibrary by Florian Jenett. (c) 2005 - 2009