|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.orientechnologies.jdo.oOrientURL
Define an Orient URL. Orient URL is composed by following properties:
Examples:
| Field Summary | |
static java.lang.String |
DEFAULT_PORT
|
| Constructor Summary | |
oOrientURL(java.lang.String iURL)
Build a new instance starting from the String representation |
|
| Method Summary | |
java.lang.String |
getDatabase()
Return database name |
java.lang.String |
getHost()
Return the host name or ip address |
java.lang.String |
getPort()
Return the port number, default is 8000 |
java.lang.String |
getProtocol()
Return the protocol |
static oOrientURL |
newEnterpriseUrl(java.lang.String iHost,
java.lang.String iDatabaseName)
Create a new oOrientURL object for Enterprise Edition datastore. |
static oOrientURL |
newJustUrl(java.lang.String iDatabaseName)
Create a new oOrientURL object for Just Edition datastore. |
java.lang.String |
toString()
Convert the URL to String |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String DEFAULT_PORT
| Constructor Detail |
public oOrientURL(java.lang.String iURL)
throws java.net.MalformedURLException
| Method Detail |
public java.lang.String getProtocol()
public java.lang.String getHost()
public java.lang.String getPort()
public java.lang.String toString()
public java.lang.String getDatabase()
public static oOrientURL newJustUrl(java.lang.String iDatabaseName)
throws java.net.MalformedURLException
iDatabaseName - Name of database to insert in the URL
java.net.MalformedURLException
public static oOrientURL newEnterpriseUrl(java.lang.String iHost,
java.lang.String iDatabaseName)
throws java.net.MalformedURLException
iHost - Remote host to connect. Can be also localhost.iDatabaseName - Name of database to insert in the URL
java.net.MalformedURLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||