|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object util.io.NetworkUtilities
public class NetworkUtilities
Network Helper Class with some utility functions
Constructor Summary | |
---|---|
NetworkUtilities()
|
Method Summary | |
---|---|
static boolean |
checkConnection()
Checks if a Internet connection can be established |
static boolean |
checkConnection(java.net.URL url)
Checks if a Internet connection to a specific Server can be established |
static java.lang.String[] |
getConnectionCheckUrls()
|
static int |
getTimeDifferenceSeconds(java.lang.String serverName)
get the time difference from a NTP server |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NetworkUtilities()
Method Detail |
---|
public static boolean checkConnection()
public static boolean checkConnection(java.net.URL url)
url
- check this Server
public static int getTimeDifferenceSeconds(java.lang.String serverName)
serverName
-
public static java.lang.String[] getConnectionCheckUrls()
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |