de.jdemo.util
Interface IFileLauncher

All Known Implementing Classes:
FileLauncher

public interface IFileLauncher

Author:
Markus Gebhard

Method Summary
 void launch(java.io.File file)
          Tries to open the given file by passing it to the operating system.
 

Method Detail

launch

void launch(java.io.File file)
            throws java.lang.Exception
Tries to open the given file by passing it to the operating system. Note that this might not work properly on all systems. (In fact it only works on windows systems at the moment.)

Throws:
java.lang.Exception


JDemo homepage: http://www.jdemo.de
Copyright © 2003-2008 Markus Gebhard. All Rights Reserved.