|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.mojo.cobertura.tasks.CommandLineArguments
public class CommandLineArguments
CommandLineArguments allows for arbitrarily long command line argument lists.
| Constructor Summary | |
|---|---|
CommandLineArguments()
Construct empty arg set. |
|
| Method Summary | |
|---|---|
void |
addArg(String arg)
Append an option. |
void |
addArg(String arg1,
String arg2)
Append two arguments (e.g. |
List<String> |
getArgs()
|
String |
getCommandsFile()
Generate the Commands file and return the filename to it. |
Iterator<String> |
iterator()
|
void |
setUseCommandsFile(boolean useCommandsFile)
|
boolean |
useCommandsFile()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandLineArguments()
| Method Detail |
|---|
public void addArg(String arg)
arg - the argument.
public void addArg(String arg1,
String arg2)
arg1 - first argarg2 - second arg.public List<String> getArgs()
public String getCommandsFile()
throws IOException
IOException - error writing the file.public Iterator<String> iterator()
public void setUseCommandsFile(boolean useCommandsFile)
useCommandsFile - The useCommandsFile to set.public boolean useCommandsFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||