deadpixel.command
Class Command
java.lang.Object
deadpixel.command.Command
public class Command
- extends Object
|
Method Summary |
String[] |
getOutput()
Returns each line of the command's output as an array of String objects. |
boolean |
run()
Runs the command. |
static String |
version()
return the version of the library. |
VERSION
public static final String VERSION
- See Also:
- Constant Field Values
Command
public Command(String theCommand)
run
public boolean run()
- Runs the command. Returns true if the command was successful, false
otherwise. The output of the command can be accessed by calling
getOutput()
- Returns:
- true if the command ran successfully, false if there was an error running the command
getOutput
public String[] getOutput()
- Returns each line of the command's output as an array of String objects. Useful if you need to capture the results
from running a command.
version
public static String version()
- return the version of the library.
- Returns:
- String
Processing library command by David Bouchard. (C) 2012