|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cycling74.max.MaxObject
net.loadbang.util.EnrichedMaxObject
net.loadbang.sql.mxj.MXJ_SQL
net.loadbang.sql.mxj.NoddySQL
public class NoddySQL
This is a simple MXJ object which provides an SQL connection to an embedded HSQLDB database. The database is started and stopped automatically.
The database is mapped to a small number of text files. We actually locate the text files by searching for a mandatory "place-holder" file in Max's search path. This makes more sense than some property declaration somewhere.
| Field Summary |
|---|
| Fields inherited from class com.cycling74.max.MaxObject |
|---|
EMPTY_STRING_ARRAY, NO_INLETS, NO_OUTLETS |
| Constructor Summary | |
|---|---|
NoddySQL()
A constructor which bombs out unless it's been passed the name of the place-holder file. |
|
NoddySQL(java.lang.String placeHolder)
Constructor. |
|
| Method Summary |
|---|
| Methods inherited from class net.loadbang.sql.mxj.MXJ_SQL |
|---|
dropDatabase, getDatabase, notifyDeleted, query, setDatabase, update |
| Methods inherited from class net.loadbang.util.EnrichedMaxObject |
|---|
getLogger |
| Methods inherited from class com.cycling74.max.MaxObject |
|---|
anything, bail, bang, createInfoOutlet, dblclick, declareAttribute, declareAttribute, declareInlets, declareIO, declareOutlets, declareReadOnlyAttribute, declareReadOnlyAttribute, declareTypedIO, embedMessage, error, gc, getAttr, getAttrAtomArray, getAttrBool, getAttrBoolArray, getAttrByte, getAttrByteArray, getAttrChar, getAttrCharArray, getAttrDouble, getAttrDoubleArray, getAttrFloat, getAttrFloatArray, getAttributeInfo, getAttrInt, getAttrIntArray, getAttrLongArray, getAttrShort, getAttrShortArray, getAttrString, getAttrStringArray, getCodeSourcePath, getContext, getErrorStream, getInfoIdx, getInlet, getInletAssist, getInletType, getLongAttr, getMaxBox, getName, getNumInlets, getNumOutlets, getOutletAssist, getOutletType, getParentPatcher, getPostStream, inlet, inlet, list, loadbang, ouch, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outletBang, outletBangHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, post, postCodePath, save, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setInletAssist, setInletAssist, setName, setOutletAssist, setOutletAssist, showException, showException, toString, viewsource, zap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NoddySQL()
public NoddySQL(java.lang.String placeHolder)
placeHolder - the place-holder filename for the database path to use.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||