CommandlineJava All Implemented Interfaces: java. Cloneable public class CommandlineJava extends java. Object implements java. Cloneable A representation of a Java command line that is a composite of 2 Commandline s. It provides specific methods for a Java command line. SysProperties Specialized Environment class for System properties. Return a String that describes the command and arguments suitable for verbose output before a call to Runtime.
EnabledAssertion an enabled assertion enables things Field Summary Fields inherited from class org. DataType checked , ref Fields inherited from class org. DisabledAssertion assertion disable assertions void addEnable Assertions.
EnabledAssertion assertion enable assertions void applyAssertions CommandlineJava command apply all the assertions to the command. List commandList add the assertions to a list in a format suitable for adding to a command line void applyAssertions java.
ListIterator commandIterator add the assertions to a list in a format suitable for adding to a command line java. Object clone clone the objects. Boolean enableSystemAssertions enable or disable system assertions.
Returns all arguments defined by addLine , addValue or the argument object. Quote the parts of the given array in way that makes them usable as command line arguments. String toProcess Create a command line from a string. Create an argument object. Create an argument object and add it to our list of args.
Set the executable to run. All file separators in the string are converted to the platform specific value. Put quotes around the given String if necessary. Size operator. This actually creates the command line, so it is not a zero cost operation.
0コメント