|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.dtf.testframework.utils.OptionParser
public final class OptionParser
| Constructor Summary | |
|---|---|
OptionParser(java.lang.String[] strings,
long[] values)
Creates an option parser where strings[index] has a value of values[index]. |
|
| Method Summary | |
|---|---|
long |
parse(java.lang.String text)
Parse a string containing tokens delimited by | (binary OR) and return the long value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OptionParser(java.lang.String[] strings,
long[] values)
throws OptionParserException
strings - The string tokens.values - The string token's values.
OptionParserException| Method Detail |
|---|
public long parse(java.lang.String text)
throws OptionParserException
text - The string to parse.
OptionParserException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||