StringConverter to TypedStringConverter.
| Modifier and Type | Field and Description |
|---|---|
| private final StringConverter | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static <R> TypedStringConverter | |
| public T | convertFromString(Class<? extends T>
the class to convert to, not null cls, String the string to convert, not null str)Implements org. String.
|
| public String | convertToString(T
the object to convert, not null object)Implements org. String.
|
| public Class | getEffectiveType()
Implements org. |
| public String |
| conv | back to summary |
|---|---|
| private final StringConverter<T> conv | |
| effectiveType | back to summary |
|---|---|
| private final Class<?> effectiveType | |
| TypedAdapter | back to summary |
|---|---|
| private TypedAdapter(StringConverter<T> conv, Class<?> effectiveType) | |
| adapt | back to summary |
|---|---|
| pack-priv static <R> TypedStringConverter | |
| convertFromString | back to summary |
|---|---|
| public T convertFromString(Class<? extends T> cls, String str) Implements org. Doc from org. Converts the specified object from a | |
| convertToString | back to summary |
|---|---|
| public String convertToString(T object) Implements org. Doc from org. Converts the specified object to a | |
| getEffectiveType | back to summary |
|---|---|
| public Class Implements org. Doc from org. Gets the effective type that the converter works on.
For example, if a class declares the | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |