TV-Browser 2.7.5 API

util.io
Class CheckNetworkConnection

java.lang.Object
  extended by util.io.CheckNetworkConnection

 class CheckNetworkConnection
extends Object

Checks the Network and creates a Waiting-Dialog if neccesarry

Since:
2.2

Constructor Summary
CheckNetworkConnection()
           
 
Method Summary
 boolean checkConnection()
          Check the Network
 boolean checkConnection(URL url)
          Checks if a internet connection to a specific Server can be established
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckNetworkConnection

CheckNetworkConnection()
Method Detail

checkConnection

public boolean checkConnection()
Check the Network

Returns:
true, if the connection is working

checkConnection

public boolean checkConnection(URL url)
Checks if a internet connection to a specific Server can be established

Parameters:
url - check this Server
Returns:
true, if a connection can be established

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)