| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private final Method | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public T | Returns: the instance of Tthe input, can be null input)Implements io. Converts the given input to an object by using the 'valueOf' method. |
| public static <T> ValueOfBasedConverter | Returns: aValueOfBasedConverter if the given class is eligible,
null otherwise.the class clazz)Checks whether the given class can be used by the |
| clazz | back to summary |
|---|---|
| private final Class<T> clazz | |
| method | back to summary |
|---|---|
| private final Method method | |
| VALUE_OF | back to summary |
|---|---|
| public static final String VALUE_OF | |
| ValueOfBasedConverter | back to summary |
|---|---|
| private ValueOfBasedConverter(Class<T> clazz, Method method) | |
| fromString | back to summary |
|---|---|
| public T fromString(String input) throws IllegalArgumentException Implements io. Converts the given input to an object by using the 'valueOf' method. Notice that the method may receive a null value.
| |
| getIfEligible | back to summary |
|---|---|
| public static <T> ValueOfBasedConverter Checks whether the given class can be used by the
| |