|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.bootstrap.BootstrapServer
A URL for a GWebCache endpoint, plus some additional connection history data:
GWebCache
,
HostCatcher
Constructor Summary | |
BootstrapServer(java.lang.String s)
Constructs a new BootstrapServer from a URL or an extended gnutella.net data line. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Returns true if o is a BootStrapServer with the same URL. |
java.net.URL |
getURL()
Returns the URL to the server, minus any request parameters. |
java.lang.String |
toString()
Returns a parsable represenation of this. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BootstrapServer(java.lang.String s) throws java.text.ParseException
s
- single line of the form "http://server.com/path/to/script" or
or "http://server.com/path/to/script,dtime,ctimes,ftimes". In the
extended format, "dtime" is the host discovery time, ctimes is a
semicolon separated list of successful connect times, and ftimes is
semicolon separated list of unsuccessful connect times.
java.text.ParseException
- line could not be be parsed in
either format. The offset is not necessarily set.Method Detail |
public java.net.URL getURL()
public java.lang.String toString()
public boolean equals(java.lang.Object o)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |