org.sadun.util
Class CmdLineOptions.Handler.ParamSet

java.lang.Object
  extended byorg.sadun.util.CmdLineOptions.Handler.ParamSet
Enclosing class:
CmdLineOptions.Handler

public static class CmdLineOptions.Handler.ParamSet
extends java.lang.Object

A set of parmeters for an option


Method Summary
 boolean hasNext()
          Return true if there is a next parameter.
 java.lang.String next()
          Return the next parameter.
 int size()
          Return the number of parameters.
 java.lang.String toString()
          Return a string representation of the parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

next

public java.lang.String next()
Return the next parameter.

Returns:
the next parameter
Throws:
OptionException - if there are no more parameters.

hasNext

public boolean hasNext()
Return true if there is a next parameter.

Returns:
true if there is a next parameter.

size

public int size()
Return the number of parameters.

Returns:
the number of parameters.

toString

public java.lang.String toString()
Return a string representation of the parameters.

Returns:
a string representation of the parameters.


Copyright © 1999-2004 Cristiano Sadun. This software is released under GPL.