@Deprecated
public abstract class AbstractTypeConverter<T>
extends java.lang.Object
implements junitparams.converters.ParamConverter<T>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Class<T> |
targetClass
Deprecated.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTypeConverter(java.lang.Class<T> targetClass)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
T |
convert(java.lang.Object obj,
java.lang.String option)
Deprecated.
|
protected T |
fromOtherType(java.lang.Object obj,
java.lang.String option)
Deprecated.
|
protected abstract T |
fromString(java.lang.String objText,
java.lang.String option)
Deprecated.
|
protected T |
nullValue(java.lang.String option)
Deprecated.
|
protected final java.lang.Class<T> targetClass
protected AbstractTypeConverter(java.lang.Class<T> targetClass)
public T convert(java.lang.Object obj, java.lang.String option) throws junitparams.converters.ConversionFailedException
convert in interface junitparams.converters.ParamConverter<T>junitparams.converters.ConversionFailedExceptionprotected abstract T fromString(java.lang.String objText, java.lang.String option) throws junitparams.converters.ConversionFailedException
junitparams.converters.ConversionFailedExceptionprotected T nullValue(java.lang.String option) throws junitparams.converters.ConversionFailedException
junitparams.converters.ConversionFailedExceptionprotected T fromOtherType(java.lang.Object obj, java.lang.String option) throws junitparams.converters.ConversionFailedException
junitparams.converters.ConversionFailedException