org.biojava.bio.structure.align.webstart
Class BrowserOpener
java.lang.Object
org.biojava.bio.structure.align.webstart.BrowserOpener
public class BrowserOpener
- extends Object
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 |
logger
public static Logger logger
BrowserOpener
public BrowserOpener()
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