org.biojava.bio.structure.align.webstart
Class BrowserOpener

java.lang.Object
  extended by org.biojava.bio.structure.align.webstart.BrowserOpener

public class BrowserOpener
extends Object


Field Summary
static Logger logger
           
 
Constructor Summary
BrowserOpener()
           
 
Method Summary
static boolean showDocument(String urlstring)
          open a URL in the browser that was used to launch SPICE
static boolean showDocument(URL url)
          open a URL in the browser that was used to launch SPICE
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static Logger logger
Constructor Detail

BrowserOpener

public BrowserOpener()
Method Detail

showDocument

public static boolean showDocument(URL url)
open a URL in the browser that was used to launch SPICE

Parameters:
url - URL to be opened
Returns:
true if this was successfull

showDocument

public static boolean showDocument(String urlstring)
open a URL in the browser that was used to launch SPICE

Parameters:
urlstring - string represntation of URL to be opened
Returns:
true if this was successfull