Class Args
java.lang.Object
org.copalis.jam.util.Args
-
Method Summary
Modifier and TypeMethodDescriptionAdds supplied arguments and returns the current listAdds another args list to thisString[]array()Returns the arguments as an arraystatic ArgsCreates a new list with the supplied argumentsvoidrun()Executes an external process using these argumentsvoidrun(ProcessBuilder pb) Executes an external process using these argumentstoString()
-
Method Details
-
of
-
and
-
andAll
-
array
Returns the arguments as an array- Returns:
- an array containing the vararg list
-
run
public void run()Executes an external process using these arguments -
run
Executes an external process using these arguments- Parameters:
pb- the process builder used to execute the process
-
toString
-