public class IntegerCLA extends AbstractCLA<Integer>
IntegerCLA class.
| Modifier and Type | Field and Description |
|---|---|
protected NumberFormat |
FMT |
camelCaps, camelCapsAllowed, caseSensitive, criteria, defaultValues, enumClassName, factoryArgName, factoryMethodName, format, help, instanceClass, keychar, keyword, metaphone, metaphoneAllowed, multiple, multipleMax, multipleMin, newline, parsed, positional, required, requiredValue, systemGenerated, type, uniqueId, values, variable| Constructor and Description |
|---|
IntegerCLA() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
convert(String valueStr,
boolean _caseSensitive,
Object target)
convert.
|
String |
defaultInstanceClass()
defaultInstanceClass.
|
protected void |
exportCommandLineData(StringBuilder out,
int occ)
exportCommandLineData.
|
protected void |
exportNamespaceData(String prefix,
StringBuilder out,
int occ)
exportNamespaceData.
|
protected void |
exportXmlData(StringBuilder out,
int occ)
exportXmlData.
|
String |
genericClassName()
genericClassName.
|
float[] |
getValueAsfloatArray()
getValueAsfloatArray.
|
Float[] |
getValueAsFloatArray()
getValueAsFloatArray.
|
int[] |
getValueAsintArray()
getValueAsintArray.
|
Integer[] |
getValueAsIntegerArray()
getValueAsIntegerArray.
|
Long[] |
getValueAsLongArray()
getValueAsLongArray.
|
applyDefaults, asDefinedType, asEnum, asEnumArray, clone, convert, createCamelCapVersionOfKeyword, createMetaphoneVersionOfKeyword, dontAllowCamelCaps, dontAllowMetaphone, exportCommandLine, exportCommandLine, exportNamespace, exportNamespace, exportXml, exportXml, getCamelCaps, getCriteria, getDefaultValues, getDelegateOrValue, getDelegateOrValue, getEnumClassName, getFactoryArgName, getFactoryMethodName, getFormat, getHelp, getInstanceClass, getKeychar, getKeyword, getMetaphone, getMultipleMax, getMultipleMin, getType, getUniqueId, getValue, getValue, getValueAsbyteArray, getValueAsByteArray, getValueAsCalendarArray, getValueAsCharacterArray, getValueAscharArray, getValueAsDateArray, getValueAsDateTimeFormatter, getValueAsDateTimeFormatterArray, getValueAsdoubleArray, getValueAsDoubleArray, getValueAsEquation, getValueAsEquationArray, getValueAsFileArray, getValueAsLocalDateArray, getValueAsLocalDateTimeArray, getValueAsLocalTimeArray, getValueAslongArray, getValueAsPattern, getValueAsPatternArray, getValueAsSimpleDateFormat, getValueAsSimpleDateFormatArray, getValueAsStringArray, getValues, getVariable, hasValue, isCamelCapsAllowed, isCaseSensitive, isMetaphoneAllowed, isMultiple, isParsed, isPositional, isRequired, isRequiredValue, isSystemGenerated, reset, resetCriteria, salience, setCamelCapsAllowed, setCaseSensitive, setDefaultValue, setDefaultValues, setDefaultValues, setEnumCriteria, setEnumCriteriaAllowError, setFactoryArgName, setFactoryMethodName, setFormat, setHelp, setInstanceClass, setKeychar, setKeyword, setListCriteria, setMetaphoneAllowed, setMultiple, setMultiple, setMultiple, setObject, setParsed, setPositional, setRangeCriteria, setRegxCriteria, setRequired, setRequiredValue, setSystemGenerated, setType, setUniqueId, setValue, setValue, setValue, setValues, setVariable, size, supportsCamelCaps, supportsCaseSensitive, supportsDefaultValues, supportsExcludeArgs, supportsFactoryArgName, supportsFactoryMethod, supportsFormat, supportsHelp, supportsInList, supportsInstanceClass, supportsLongName, supportsMatches, supportsMetaphone, supportsMultimax, supportsMultimin, supportsPositional, supportsRange, supportsRequired, supportsShortName, toString, uncompileQuoter, useDefaults, xmlEncodeprotected NumberFormat FMT
public Integer convert(String valueStr, boolean _caseSensitive, Object target) throws ParseException
convert.
convert in interface ICmdLineArg<Integer>convert in class AbstractCLA<Integer>valueStr - a String object._caseSensitive - a boolean.target - a Object object.ParseException - if any.public String defaultInstanceClass()
defaultInstanceClass.
defaultInstanceClass in interface ICmdLineArg<Integer>defaultInstanceClass in class AbstractCLA<Integer>String object.protected void exportCommandLineData(StringBuilder out, int occ)
exportCommandLineData.
exportCommandLineData in class AbstractCLA<Integer>out - a StringBuilder object.occ - a int.protected void exportNamespaceData(String prefix, StringBuilder out, int occ)
exportNamespaceData.
exportNamespaceData in class AbstractCLA<Integer>prefix - a String object.out - a StringBuilder object.occ - a int.protected void exportXmlData(StringBuilder out, int occ)
exportXmlData.
exportXmlData in class AbstractCLA<Integer>out - a StringBuilder object.occ - a int.public float[] getValueAsfloatArray()
throws ParseException
getValueAsfloatArray.
getValueAsfloatArray in interface ICmdLineArg<Integer>getValueAsfloatArray in class AbstractCLA<Integer>ParseException - if any.public Float[] getValueAsFloatArray() throws ParseException
getValueAsFloatArray.
getValueAsFloatArray in interface ICmdLineArg<Integer>getValueAsFloatArray in class AbstractCLA<Integer>Float objects.ParseException - if any.public int[] getValueAsintArray()
throws ParseException
getValueAsintArray.
getValueAsintArray in interface ICmdLineArg<Integer>getValueAsintArray in class AbstractCLA<Integer>ParseException - if any.public Integer[] getValueAsIntegerArray() throws ParseException
getValueAsIntegerArray.
getValueAsIntegerArray in interface ICmdLineArg<Integer>getValueAsIntegerArray in class AbstractCLA<Integer>Integer objects.ParseException - if any.public Long[] getValueAsLongArray() throws ParseException
getValueAsLongArray.
getValueAsLongArray in interface ICmdLineArg<Integer>getValueAsLongArray in class AbstractCLA<Integer>Long objects.ParseException - if any.