Class Linkeable

java.lang.Object
  extended by Linkeable

public class Linkeable
extends java.lang.Object


Constructor Summary
Linkeable(java.lang.String link)
          Display a file in the system browser.
 
Method Summary
static void displayURL()
           
static boolean isWindowsPlatform()
          Try to determine whether this application is running under Windows or some other platform by examing the "os.name" property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Linkeable

public Linkeable(java.lang.String link)
Display a file in the system browser. If you want to display a file, you must include the absolute path name.

Parameters:
url - the file's url (the url must start with either "http://" or "file://").
Method Detail

displayURL

public static void displayURL()

isWindowsPlatform

public static boolean isWindowsPlatform()
Try to determine whether this application is running under Windows or some other platform by examing the "os.name" property.

Returns:
true if this application is running under a Windows OS