|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectutil.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(URL url)
Checks if a internet connection to a specific Server can be established |
static int |
getTimeDifferenceSeconds(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(URL url)
url - check this Server
public static int getTimeDifferenceSeconds(String serverName)
serverName -
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||