cz.vity.freerapid.utilities
Class OSDesktop

java.lang.Object
  extended by cz.vity.freerapid.utilities.OSDesktop

public class OSDesktop
extends Object

Help System utility to open files

Author:
Vity

Constructor Summary
OSDesktop()
           
 
Method Summary
static void openDirectoryForFile(File file)
          This function is similar to openFile function, but it tries to also select given file in the folder
File has to exist on the file system.
static void openFile(File file)
          Opens given file/directory on local operating system
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSDesktop

public OSDesktop()
Method Detail

openFile

public static void openFile(File file)
Opens given file/directory on local operating system

Parameters:
file - file to open with local application
See Also:
Desktop.open(java.io.File)

openDirectoryForFile

public static void openDirectoryForFile(File file)
This function is similar to openFile function, but it tries to also select given file in the folder
File has to exist on the file system.

Parameters:
file - file with folder to open with local application