|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.assembler.ConnectionDescription
public class ConnectionDescription
A ConnectionDescription holds the information required to construct an IDBConnection, and can construct that connection on demand.
| Field Summary | |
|---|---|
String |
dbPassword
|
String |
dbType
|
String |
dbURL
|
String |
dbUser
|
String |
subject
|
| Constructor Summary | |
|---|---|
ConnectionDescription(String subject,
String dbURL,
String dbUser,
String dbPassword,
String dbType)
Initialise a description from the given arguments. |
|
| Method Summary | |
|---|---|
static ConnectionDescription |
create(String subject,
String dbURL,
String dbUser,
String dbPassword,
String dbType)
Answer a description containing the specified components. |
IDBConnection |
getConnection()
Answer the connection specified by the description. |
String |
toString()
Answer a descriptive string for this connection object, including whether or not it has already had its connection opened. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final String subject
public final String dbURL
public final String dbUser
public final String dbPassword
public final String dbType
| Constructor Detail |
|---|
public ConnectionDescription(String subject,
String dbURL,
String dbUser,
String dbPassword,
String dbType)
subject - the URI of the subject node from which this description is createddbURL - the URL of the database to connect todbUser - the name of the user authorising the connectiondbPassword - the password of that userdbType - the type of the database| Method Detail |
|---|
public IDBConnection getConnection()
public static ConnectionDescription create(String subject,
String dbURL,
String dbUser,
String dbPassword,
String dbType)
public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||