org.lobobrowser.util
Class OS

java.lang.Object
  extended by org.lobobrowser.util.OS

public class OS
extends java.lang.Object

Author:
J. H. S.

Method Summary
static boolean isWindows()
           
static void launchBrowser(java.lang.String url)
           
static void launchPath(java.lang.String path)
          Opens a file a directory with an appropriate program.
static boolean supportsLaunchPath()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isWindows

public static boolean isWindows()

launchBrowser

public static void launchBrowser(java.lang.String url)
                          throws java.io.IOException
Throws:
java.io.IOException

launchPath

public static void launchPath(java.lang.String path)
                       throws java.io.IOException
Opens a file a directory with an appropriate program.

Throws:
java.io.IOException

supportsLaunchPath

public static boolean supportsLaunchPath()