public class Command extends Object
Constructor and Description |
---|
Command() |
Modifier and Type | Method and Description |
---|---|
void |
add(String... args) |
void |
addAll(Collection<String> args) |
void |
cancel() |
int |
execute(Appendable stdout,
Appendable stderr) |
int |
execute(InputStream in,
Appendable stdout,
Appendable stderr) |
int |
execute(String input,
Appendable stdout,
Appendable stderr) |
void |
setCwd(File dir) |
void |
setReporter(Reporter reporter) |
void |
setTimeout(long duration,
TimeUnit unit) |
void |
setTrace() |
String |
toString() |
public int execute(Appendable stdout, Appendable stderr) throws Exception
Exception
public int execute(String input, Appendable stdout, Appendable stderr) throws Exception
Exception
public int execute(InputStream in, Appendable stdout, Appendable stderr) throws Exception
Exception
public void add(String... args)
public void addAll(Collection<String> args)
public void setTimeout(long duration, TimeUnit unit)
public void setTrace()
public void setReporter(Reporter reporter)
public void setCwd(File dir)
public void cancel()
Copyright © 2018 aQute SARL. All rights reserved.