Package org.lobobrowser.util
Class OS
- java.lang.Object
-
- org.lobobrowser.util.OS
-
public class OS extends java.lang.Object- Author:
- J. H. S.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisWindows()static voidlaunchBrowser(java.lang.String url)static voidlaunchPath(java.lang.String path)Opens a file a directory with an appropriate program.static booleansupportsLaunchPath()
-
-
-
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.IOExceptionOpens a file a directory with an appropriate program.- Throws:
java.io.IOException
-
supportsLaunchPath
public static boolean supportsLaunchPath()
-
-