|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jdbdump.connect.ConfigurationIO net.sourceforge.jdbdump.connect.DbConfigurationIO
public class DbConfigurationIO
This class is a subclass of abstract ConfigurationIO class. It provides support for configuration data that is stored on a database.
Constructor Summary | |
---|---|
DbConfigurationIO(java.lang.String url,
java.lang.String user,
java.lang.String pass,
java.lang.String driver,
java.lang.String table)
|
Method Summary | |
---|---|
protected void |
connect()
|
protected java.io.InputStream |
getInputStream()
This method is useless for this class, but the superclass enforces implementation of it. |
protected java.io.OutputStream |
getOutputStream()
This method is useless for this class, but the superclass enforces implementation of it. |
void |
reload()
This is an overriding method which selects configuration data from database |
void |
save()
This is an overriding method which updates configuration data to database |
Methods inherited from class net.sourceforge.jdbdump.connect.ConfigurationIO |
---|
getDefaultAutoload, getDefaultAutosave, load, save |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DbConfigurationIO(java.lang.String url, java.lang.String user, java.lang.String pass, java.lang.String driver, java.lang.String table) throws java.io.IOException
java.io.IOException
Method Detail |
---|
protected void connect()
public void reload() throws java.io.IOException
java.io.IOException
ConfigurationIO#reload()
public void save() throws java.io.IOException
java.io.IOException
ConfigurationIO#save()
protected java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class ConfigurationIO
java.io.IOException
protected java.io.OutputStream getOutputStream() throws java.io.IOException
getOutputStream
in class ConfigurationIO
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |