Package pro.johndunlap.getopt
Class OptionInfo
- java.lang.Object
-
- pro.johndunlap.getopt.OptionInfo
-
public class OptionInfo extends Object
A class which contains information about a single option.- Author:
- John Dunlap
-
-
Constructor Summary
Constructors Constructor Description OptionInfo(Field field)Creates a new OptionInfo object from the given field.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()chargetCode()StringgetDescription()StringgetFlag()booleanisRequired()
-
-
-
Constructor Detail
-
OptionInfo
public OptionInfo(Field field)
Creates a new OptionInfo object from the given field.- Parameters:
field- The field to create the OptionInfo object from.
-
-