junitparams.converters
Class NullableConverter

java.lang.Object
  extended by junitparams.converters.NullableConverter
All Implemented Interfaces:
Converter<Nullable,Object>

public class NullableConverter
extends Object
implements Converter<Nullable,Object>


Constructor Summary
NullableConverter()
           
 
Method Summary
 Object convert(Object param)
          Converts param to desired type.
 void initialize(Nullable annotation)
          Initializes this converter - you can read your annotation config here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullableConverter

public NullableConverter()
Method Detail

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.