|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectccs.utils.CommandlineParser
public class CommandlineParser
A parser which converts a command-line string into a sequence of parameters, suitable for passing to Runtime.exec. It has three parse rules:
| Method Summary | |
|---|---|
static java.lang.String[] |
parse(java.lang.String parseme,
java.lang.String toSubst,
boolean shouldAppend)
Parses the supplied string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String[] parse(java.lang.String parseme,
java.lang.String toSubst,
boolean shouldAppend)
parseme - The string to parse.toSubst - The fixed string to substitute for '@' characters within parseme.shouldAppend - If true and no instance of '@' occurs, the fixed string
is appended as an extra parameter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||