org.xnap.util.launcher
Class WindowsLauncher

java.lang.Object
  extended by org.xnap.util.launcher.DefaultLauncher
      extended by org.xnap.util.launcher.WindowsLauncher
All Implemented Interfaces:
Launcher

public class WindowsLauncher
extends DefaultLauncher

Provides a Windows launcher based on ziga.dll.


Constructor Summary
WindowsLauncher()
           
 
Method Summary
 boolean isEditable()
          Returns false.
 boolean isEnabled()
          Returns true, if ziga.dll is loaded.
 void open(java.io.File file)
          Launches file.
 void open(java.net.URL url)
          Opens the given URL.
 
Methods inherited from class org.xnap.util.launcher.DefaultLauncher
getCommand, getKey, getName, setCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsLauncher

public WindowsLauncher()
Method Detail

isEditable

public boolean isEditable()
Returns false.

Specified by:
isEditable in interface Launcher
Overrides:
isEditable in class DefaultLauncher

isEnabled

public boolean isEnabled()
Returns true, if ziga.dll is loaded.

Specified by:
isEnabled in interface Launcher
Overrides:
isEnabled in class DefaultLauncher

open

public void open(java.io.File file)
          throws java.io.IOException
Launches file.

Specified by:
open in interface Launcher
Overrides:
open in class DefaultLauncher
Throws:
java.io.IOException

open

public void open(java.net.URL url)
          throws java.io.IOException
Description copied from interface: Launcher
Opens the given URL.

Specified by:
open in interface Launcher
Overrides:
open in class DefaultLauncher
Throws:
java.io.IOException


Copyright © 2001-2005 XNap Team. All Rights Reserved.