Class LongOption

java.lang.Object
  |
  +--LongOption

public class LongOption
extends Object

Helper class for GetOpt.

Copyright © 2002 by Marvin Solomon. All rights reserved.


Field Summary
 int hasArg
           
 String name
           
static int NO_ARG
           
static int OPT_ARG
           
static int REQ_ARG
           
 char val
           
 
Constructor Summary
LongOption(String name, int hasArg, char val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public String name

hasArg

public int hasArg

val

public char val

NO_ARG

public static final int NO_ARG
See Also:
Constant Field Values

REQ_ARG

public static final int REQ_ARG
See Also:
Constant Field Values

OPT_ARG

public static final int OPT_ARG
See Also:
Constant Field Values
Constructor Detail

LongOption

public LongOption(String name,
                  int hasArg,
                  char val)