dbpackage
Class StoreBlob

java.lang.Object
  extended bydbpackage.StoreBlob
All Implemented Interfaces:
Pos

public class StoreBlob
extends java.lang.Object
implements Pos


Field Summary
 
Fields inherited from interface naturalpackage.Pos
ADJ, adjexceptions, ADV, ALL_S, ART, ARTS, CONJ, CONJS, DET, DETS, HOW, MEASUREMENT, NOUN, NP, NUM_S, NUMBER, PP, PREP, PREPS, PRON, PRONS, UNKNOWN, VERB, VP, WHAT, WHEN, WHERE, WHO, WHY
 
Constructor Summary
StoreBlob()
           
 
Method Summary
 java.util.Vector readObject(java.sql.Connection con, java.lang.String tablename, java.lang.Striîg colname)
          Reads an vector you have stored in the database code should be easily modified for any serialized object
 void storeObject(java.sql.Connection con, java.lang.String tablename, java.lang.String colname, java.util.Vector v)
          Writes an object to the datase easily modified for serialized object you want to store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreBlob

public StoreBlob()
Method Detail

storeObject

public void storeObject(java.sql.Connection con,
                        java.lang.String tablename,
                        java.lang.String colname,
                        java.util.Vector v)
Writes an object to the datase easily modified for serialized object you want to store

Parameters:
con - The connection to the db you want to write too
tablename - the name of the table you want to write too
colname - the name of the table you want to write too
v - this is the vector you want to store
Returns:
void

readObject

public java.util.Vector readObject(java.sql.Connection con,
                                   java.lang.String tablename,
                                   java.lang.String colname)
Reads an vector you have stored in the database code should be easily modified for any serialized object

Parameters:
con - The connection to the db you want to read
tablename - the name of the table you want to read from
colname - the name of the table you want to read from
Returns:
Vector returns a vector that holds the tree