aQute.libg.command
Class Command
java.lang.Object
aQute.libg.command.Command
public class Command
- extends Object
Command
public Command()
execute
public int execute(Appendable stdout,
Appendable stderr)
throws Exception
- Throws:
Exception
execute
public int execute(String input,
Appendable stdout,
Appendable stderr)
throws Exception
- Throws:
Exception
execute
public int execute(InputStream in,
Appendable stdout,
Appendable stderr)
throws Exception
- Throws:
Exception
add
public void add(String... args)
addAll
public void addAll(Collection<String> args)
setTimeout
public void setTimeout(long duration,
TimeUnit unit)
setTrace
public void setTrace()
setReporter
public void setReporter(Reporter reporter)
setCwd
public void setCwd(File dir)
cancel
public void cancel()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012 aQute SARL. All Rights Reserved.