adaptj.util.OptionParser
Class IntArgument

java.lang.Object
  |
  +--adaptj.util.OptionParser.IntArgument
All Implemented Interfaces:
Argument

public class IntArgument
extends java.lang.Object
implements Argument


Constructor Summary
IntArgument(boolean required)
           
 
Method Summary
 boolean isRequired()
           
 java.lang.Object[] parse(ArgumentQueue queue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntArgument

public IntArgument(boolean required)
Method Detail

parse

public java.lang.Object[] parse(ArgumentQueue queue)
                         throws OptionProcessingException
Specified by:
parse in interface Argument
OptionProcessingException

isRequired

public boolean isRequired()
Specified by:
isRequired in interface Argument