public final class StringArgument extends AbstractArgument<String>
| Constructor and Description |
|---|
StringArgument(String shortName,
String longName,
String description,
boolean required)
Create a new string argument.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
convert(String s)
Convert the specified string value into an instance
of class
E. |
equals, getDescription, getLongName, getShortName, getValue, getValue, hashCode, isArgumentString, isRequired, isValueString, visit, wasFoundprotected String convert(String s) throws Exception
E.convert in class AbstractArgument<String>s - string valueE converted
from the specified string valueException - if an error occursCopyright (c) 2004-2014 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).