Package | Description |
---|---|
com.github.rvesse.airline.types | |
com.github.rvesse.airline.types.numerics |
Modifier and Type | Field and Description |
---|---|
static ConvertResult |
ConvertResult.FAILURE
Special constant instance used to indicate failure
|
Modifier and Type | Method and Description |
---|---|
protected ConvertResult |
DefaultTypeConverter.tryConvertBasicTypes(String name,
Class<?> type,
String value)
Tries to convert the value if it is one of the common Java types
|
protected ConvertResult |
DefaultTypeConverter.tryConvertFromString(String name,
Class<?> type,
String value)
Tries to convert the value by invoking a static
fromString(String) method on the type |
protected ConvertResult |
DefaultTypeConverter.tryConvertFromValueOf(String name,
Class<?> type,
String value)
Tries to convert the value by invoking a static
valueOf(String)
method on the type |
protected ConvertResult |
DefaultTypeConverter.tryConvertStringConstructor(String name,
Class<?> type,
String value)
Tries to convert the value by invoking a constructor that takes a string
on the type
|
protected ConvertResult |
DefaultTypeConverter.tryConvertStringMethod(String name,
Class<?> type,
String value,
String methodName)
Tries to convert the value by invoking a static method on the type
|
Modifier and Type | Method and Description |
---|---|
protected ConvertResult |
DefaultNumericConverter.tryConvertByte(String name,
String value) |
protected ConvertResult |
ComplexNumericTypeConverter.tryConvertByte(String name,
String value) |
protected ConvertResult |
DefaultNumericConverter.tryConvertDouble(String name,
String value) |
protected ConvertResult |
ComplexNumericTypeConverter.tryConvertDouble(String name,
String value) |
protected ConvertResult |
DefaultNumericConverter.tryConvertFloat(String name,
String value) |
protected ConvertResult |
ComplexNumericTypeConverter.tryConvertFloat(String name,
String value) |
protected ConvertResult |
DefaultNumericConverter.tryConvertInteger(String name,
String value) |
protected ConvertResult |
ComplexNumericTypeConverter.tryConvertInteger(String name,
String value) |
protected ConvertResult |
DefaultNumericConverter.tryConvertLong(String name,
String value) |
protected ConvertResult |
ComplexNumericTypeConverter.tryConvertLong(String name,
String value) |
ConvertResult |
NumericTypeConverter.tryConvertNumerics(String name,
Class<?> type,
String value)
Tries to convert common numeric types
|
ConvertResult |
DefaultNumericConverter.tryConvertNumerics(String name,
Class<?> type,
String value) |
protected ConvertResult |
DefaultNumericConverter.tryConvertShort(String name,
String value) |
protected ConvertResult |
ComplexNumericTypeConverter.tryConvertShort(String name,
String value) |
Copyright © 2012–2017. All rights reserved.