|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.wmsui.apij.Url
Managing Addresses File name: Url.java
Constructor Summary | |
Url(java.lang.String address)
constructor by String Parse the string in order to create a valid Url |
|
Url(java.lang.String host,
int port)
constructor by parameters Parse Initialise the host and the port of the Url |
Method Summary | |
java.lang.String |
getAddress()
Retrieve the complete Url address |
java.lang.String |
getHost()
Retrieve the host |
int |
getPort()
Retrieve the port |
java.lang.String |
getProtocol()
Retrieve the protocol if present, null otherwise |
java.lang.String |
getSimpleHost()
Retrieve the simple host name whithout any additiona info (protocol) |
java.lang.String |
toString()
Convert the Url Intance into its string representation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Url(java.lang.String address) throws java.lang.NumberFormatException, java.lang.IllegalArgumentException
address
- the full address in the form [public Url(java.lang.String host, int port)
host
- the host address of this Urlport
- the integer port of this UrlMethod Detail |
public java.lang.String toString()
public java.lang.String getAddress()
public int getPort()
public java.lang.String getHost()
public java.lang.String getSimpleHost()
public java.lang.String getProtocol()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |