|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.sahits.codegen.util.DTPConnectionParser
public class DTPConnectionParser
This Parser can retrieve stuff from the connection URL that
are not suplied in the properties of a IConnectionProfile.
Since the connection URL is vendor specific the vendor must be suplied.
The following vendors are supported:
| Constructor Summary | |
|---|---|
DTPConnectionParser(java.lang.String vendorName)
Constructor initializes the vendor The vendor can be retrieved from the IConnectionProfile by profile.getBaseProperties().getProperty("org.eclipse.datatools.connectivity.db.vendor").toString().toUpperCase(); |
|
| Method Summary | |
|---|---|
java.lang.String |
getHost(java.lang.String connectionURL)
Retrieve the host name from the connection URL The host my be a location in a network or a local file |
int |
getPort(java.lang.String connectionURL)
Retrieve the port number from the connection URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DTPConnectionParser(java.lang.String vendorName)
profile.getBaseProperties().getProperty("org.eclipse.datatools.connectivity.db.vendor").toString().toUpperCase();
vendorName - name of the database vendor.| Method Detail |
|---|
public int getPort(java.lang.String connectionURL)
connectionURL - JDBC Connection URL
public java.lang.String getHost(java.lang.String connectionURL)
connectionURL - JDBC Connection URL
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||