|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.tumba.links.LinkageSystem
public class LinkageSystem
Get the Web graph from a relational database The expected format of the table holding the linkage information is as follows: CREATE TABLE links ( link_id int(11) NOT NULL auto_increment, id_page_from int(11) NOT NULL, id_page_to int(11) NOT NULL );
Field Summary | |
---|---|
private java.lang.String |
db_driver_name
The JDBC Driver for connecting to the relational database |
private java.lang.String |
db_password
The password for connecting to the relational database |
private java.lang.String |
db_url
The JDBC Connection String for connecting to the relational database |
private java.lang.String |
db_user
The username for connecting to the relational database |
Constructor Summary | |
---|---|
LinkageSystem()
Default constructor for LinkageSystem. |
|
LinkageSystem(java.lang.String p_db_url,
java.lang.String p_db_driver_name,
java.lang.String p_db_user,
java.lang.String p_db_password)
Constructor for LinkageSystem |
Method Summary | |
---|---|
java.lang.String |
getDBDriverName()
Returns the JDBC Driver used for connecting to the relational database |
java.lang.String |
getDBPassword()
Returns the password used for connecting to the relational database |
java.lang.String |
getDBURL()
Returns the JDBC Connection String used for connecting to the relational database |
java.lang.String |
getDBUser()
Returns the username used for connecting to the relational database |
java.lang.String |
getInfo()
Returns a string with statistics gathered from the linkage database. |
void |
setDBDriverName(java.lang.String p_db_driver_name)
Sets the value for the JDBC Driver used for connecting to the relational database |
void |
setDBPassword(java.lang.String p_db_password)
Sets the value for the password used for connecting to the relational database |
void |
setDBURL(java.lang.String p_db_url)
Sets the value for the JDBC Connection String used for connecting to the relational database |
void |
setDBUser(java.lang.String p_db_user)
Sets the value for the username used for connecting to the relational database |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String db_url
private java.lang.String db_user
private java.lang.String db_password
private java.lang.String db_driver_name
Constructor Detail |
---|
public LinkageSystem()
public LinkageSystem(java.lang.String p_db_url, java.lang.String p_db_driver_name, java.lang.String p_db_user, java.lang.String p_db_password)
p_db_url
- The JDBC Connection String for connecting to the relational databasep_db_driver_name
- The JDBC Driver for connecting to the relational databasep_db_user
- The username for connecting to the relational databasep_db_password
- The password for connecting to the relational databaseMethod Detail |
---|
public void setDBURL(java.lang.String p_db_url)
p_db_url
- The JDBC Connection String for connecting to the relational databasepublic void setDBDriverName(java.lang.String p_db_driver_name)
p_db_driver_name
- The JDBC Driver for connecting to the relational databasepublic void setDBUser(java.lang.String p_db_user)
p_db_user
- The username for connecting to the relational databasepublic void setDBPassword(java.lang.String p_db_password)
p_db_password
- The password for connecting to the relational databasepublic java.lang.String getDBURL()
public java.lang.String getDBDriverName()
public java.lang.String getDBUser()
public java.lang.String getDBPassword()
public java.lang.String getInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |