| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides a generalised URL class which can handle and protocol type (unlike
java.net.URL)
Constructor Summary | |
URL() Allows an empty URL to be created | |
URL(String url) Create a URL based upon the given URL |
Method Summary | |
Object | clone() |
boolean | compare(String a, String b) Compares two "Strings" |
boolean | equals(Object o) Compares this with the given object |
static DynamicClass.PropertyHint | getDynamicClassHints(String prop) Method to provide property hints to DynamicClass |
String | getHost() Gets the host/IP address contained within the URL |
String | getPass() Password associated with the URL (i.e. |
int | getPort() Gets the port associated with the URL |
String | getProtocol() Gets the protocol associated with the URL |
String | getTarget() Gets the "target" of the URL (or "path") |
String | getUser() Username associated with the URL (i.e. |
int | hashCode() Generates hashcodes |
static void | main(String[] args) |
void | setHost(String s) Sets the host associated with the URL |
void | setPass(String s) Sets the password associated with the URL (i.e. |
void | setPort(int s) Sets the port associated with the URL |
void | setProtocol(String s) Sets the protocol of the URL |
void | setTarget(String s) Sets the "target" (or "path") or the URL |
void | setUser(String s) Sets the username associated with the URL (i.e. |
String | toString() Converts back to a Stringified URL format |
Constructor Detail |
public URL()
public URL(String url)
Method Detail |
public Object clone()
public boolean compare(String a, String b)
public boolean equals(Object o)
public static DynamicClass.PropertyHint getDynamicClassHints(String prop)
public String getHost()
public String getPass()
public int getPort()
public String getProtocol()
public String getTarget()
public String getUser()
public int hashCode()
public static void main(String[] args)
public void setHost(String s)
public void setPass(String s)
public void setPort(int s)
public void setProtocol(String s)
public void setTarget(String s)
public void setUser(String s)
public String toString()
Association Links |
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |