|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mucommander.shell.Shell
public class Shell
Used to execute shell commands.
| Method Summary | |
|---|---|
void |
configurationChanged(ConfigurationEvent event)
Reacts to configuration changes. |
static AbstractProcess |
execute(java.lang.String command,
AbstractFile currentFolder)
Executes the specified command in the specified folder. |
static AbstractProcess |
execute(java.lang.String command,
AbstractFile currentFolder,
ProcessListener listener)
Executes the specified command in the specified folder. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AbstractProcess execute(java.lang.String command,
AbstractFile currentFolder)
throws java.io.IOException
The currentFolder folder parameter will only be used if it's neither a
remote directory nor an archive. Otherwise, the command will run from the user's
home directory.
command - command to run.currentFolder - where to run the command from.
java.io.IOException - thrown if any error occurs while trying to run the command.
public static AbstractProcess execute(java.lang.String command,
AbstractFile currentFolder,
ProcessListener listener)
throws java.io.IOException
The currentFolder folder parameter will only be used if it's neither a
remote directory nor an archive. Otherwise, the command will run from the user's
home directory.
Information about the resulting process will be sent to the specified listener.
command - command to run.currentFolder - where to run the command from.listener - where to send information about the resulting process.
java.io.IOException - thrown if any error occurs while trying to run the command.public void configurationChanged(ConfigurationEvent event)
configurationChanged in interface ConfigurationListenerevent - describes the configuration modification.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard