sg.edu.nus.dbconnection
Class DBProperty

java.lang.Object
  extended by sg.edu.nus.dbconnection.DBProperty

public class DBProperty
extends java.lang.Object

Load and store database connection congiguration.


Field Summary
 java.lang.String bestpeerdb_dbName
           
 java.lang.String bestpeerdb_driver
           
 java.lang.String bestpeerdb_password
           
 java.lang.String bestpeerdb_port
           
 java.lang.String bestpeerdb_url
           
 java.lang.String bestpeerdb_username
           
 java.lang.String FileName
           
 java.lang.String localdb_dbName
           
 java.lang.String localdb_driver
           
 java.lang.String localdb_password
           
 java.lang.String localdb_port
           
 java.lang.String localdb_url
           
 java.lang.String localdb_username
           
 java.lang.String mysqlDriver
           
 java.lang.String oracleDriver
           
 java.lang.String postgresqlDriver
           
 java.lang.String server
           
 java.lang.String sqlserverDriver
           
 
Constructor Summary
DBProperty()
          Constructor: initialize, read property file name
 
Method Summary
 void put_bestpeer_cinfigure(java.util.Vector<java.lang.String> vec)
           
 void put_localdb_configure(java.util.Vector<java.lang.String> vec)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

server

public java.lang.String server

localdb_driver

public java.lang.String localdb_driver

localdb_url

public java.lang.String localdb_url

localdb_port

public java.lang.String localdb_port

localdb_username

public java.lang.String localdb_username

localdb_password

public java.lang.String localdb_password

localdb_dbName

public java.lang.String localdb_dbName

bestpeerdb_driver

public java.lang.String bestpeerdb_driver

bestpeerdb_url

public java.lang.String bestpeerdb_url

bestpeerdb_port

public java.lang.String bestpeerdb_port

bestpeerdb_username

public java.lang.String bestpeerdb_username

bestpeerdb_password

public java.lang.String bestpeerdb_password

bestpeerdb_dbName

public java.lang.String bestpeerdb_dbName

FileName

public java.lang.String FileName

mysqlDriver

public java.lang.String mysqlDriver

oracleDriver

public java.lang.String oracleDriver

sqlserverDriver

public java.lang.String sqlserverDriver

postgresqlDriver

public java.lang.String postgresqlDriver
Constructor Detail

DBProperty

public DBProperty()
Constructor: initialize, read property file name

Parameters:
FileName - Property file name
Method Detail

put_localdb_configure

public void put_localdb_configure(java.util.Vector<java.lang.String> vec)

put_bestpeer_cinfigure

public void put_bestpeer_cinfigure(java.util.Vector<java.lang.String> vec)