|
com.Ostermiller.util Java Utilities |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.Ostermiller.util.CmdLnResult
public class CmdLnResult
Result when a command line option is found. Contains the original option and all of its arguments. More information about this class and code samples for suggested use are available from ostermiller.org.
| Method Summary | |
|---|---|
String |
getArgument()
get the first argument, or null if no arguments |
int |
getArgumentCount()
Get the argument count for this option |
List<String> |
getArguments()
Get all the arguments, in the order that they were specified. |
CmdLnOption |
getOption()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public CmdLnOption getOption()
public int getArgumentCount()
public List<String> getArguments()
public String getArgument()
|
com.Ostermiller.util Java Utilities |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Copyright (c) 2001-2007 by Stephen Ostermiller