|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Launcher
Defines the requirements for classes that provide a launcher.
Method Summary | |
---|---|
java.lang.String |
getCommand()
Returns the command used to launch files. |
java.lang.String |
getKey()
Returns the unique preferences key. |
java.lang.String |
getName()
Returns the name of the launcher that is displayed to the user. |
boolean |
isEditable()
Returns true, if the command can be changed. |
boolean |
isEnabled()
Returns true, if the launcher is available on the system. |
void |
open(java.io.File file)
Launches file . |
void |
open(java.net.URL url)
Opens the given URL. |
void |
setCommand(java.lang.String command)
Sets command to command . |
Method Detail |
---|
java.lang.String getCommand()
java.lang.String getKey()
java.lang.String getName()
boolean isEnabled()
boolean isEditable()
void open(java.io.File file) throws java.io.IOException
file
.
java.io.IOException
void open(java.net.URL url) throws java.io.IOException
java.io.IOException
void setCommand(java.lang.String command)
command
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |