MDACC
Biostatistics

org.mdanderson.biostat.util
Class InetProtocolHandler

java.lang.Object
  extended byorg.mdanderson.biostat.util.InetProtocolHandler
All Implemented Interfaces:
EventListener, HyperlinkListener

public class InetProtocolHandler
extends Object
implements HyperlinkListener

InetProtocolHandler - Routes internet protocol requests.


Constructor Summary
InetProtocolHandler()
           
 
Method Summary
 void hyperlinkUpdate(HyperlinkEvent event)
          Called when a hypertext link is updated.
static void openURL(String url)
          Opens the requested URL.
static void openURL(URL url)
          Opens the requested URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InetProtocolHandler

public InetProtocolHandler()
Method Detail

hyperlinkUpdate

public void hyperlinkUpdate(HyperlinkEvent event)
Called when a hypertext link is updated. If activated, dispatches the request to a web browser to handle opening the URL.

Specified by:
hyperlinkUpdate in interface HyperlinkListener
Parameters:
event - hyperlink event

openURL

public static void openURL(URL url)
Opens the requested URL.

Parameters:
url - URL to display
See Also:
openURL(String)

openURL

public static void openURL(String url)
Opens the requested URL.

Parameters:
url - string representing URL to display
See Also:
openURL(URL)

MDACC
Biostatistics

Copyright © 2002 M.D. Anderson Cancer Center. All Rights Reserved.