com.darwinsys.lang
Class GetOptDesc
java.lang.Object
com.darwinsys.lang.GetOptDesc
public class GetOptDesc
- extends java.lang.Object
A GetOptDesc describes one argument that may be accepted by the program.
Constructor Summary |
GetOptDesc(char ch,
java.lang.String nm,
boolean ta)
Construct a GetOpt option. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetOptDesc
public GetOptDesc(char ch,
java.lang.String nm,
boolean ta)
- Construct a GetOpt option.
- Parameters:
ch
- The single-character name for this option.nm
- The word name for this option.ta
- True if this option requires an argument after it.
getArgLetter
public char getArgLetter()
getArgName
public java.lang.String getArgName()
takesArgument
public boolean takesArgument()
Copyright © 1996-2004 Ian F. Darwin. See license.html for usage license.