|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.utils.URLChecker
public class URLChecker
INTERNAL: Tries to establish a connection to URL and check whether it could be retrieved or is not reachable.
Constructor Summary | |
---|---|
URLChecker()
|
Method Summary | |
---|---|
static boolean |
isAlive(java.lang.String strURL)
returns false if no connection could be established |
static void |
main(java.lang.String[] args)
only for test purposes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public URLChecker()
Method Detail |
---|
public static boolean isAlive(java.lang.String strURL) throws java.net.MalformedURLException, java.io.IOException
java.net.MalformedURLException
java.io.IOException
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |