junitparams.converters
Class NullableConverter
java.lang.Object
junitparams.converters.NullableConverter
- All Implemented Interfaces:
- Converter<Nullable,Object>
public class NullableConverter
- extends Object
- implements Converter<Nullable,Object>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullableConverter
public NullableConverter()
initialize
public void initialize(Nullable annotation)
- Description copied from interface:
Converter
- Initializes this converter - you can read your annotation config here.
- Specified by:
initialize in interface Converter<Nullable,Object>
convert
public Object convert(Object param)
throws ConversionFailedException
- Description copied from interface:
Converter
- Converts param to desired type.
- Specified by:
convert in interface Converter<Nullable,Object>
- Throws:
ConversionFailedException
Copyright © 2017 Pragmatists. All rights reserved.