Class ConstructorInvokingStringConversion

java.lang.Object
com.pholser.junit.quickcheck.internal.conversion.ConstructorInvokingStringConversion
All Implemented Interfaces:
StringConversion

public class ConstructorInvokingStringConversion extends Object implements StringConversion
  • Field Details

  • Constructor Details

    • ConstructorInvokingStringConversion

      ConstructorInvokingStringConversion(Constructor<?> ctor)
  • Method Details

    • convert

      public Object convert(String raw)
      Description copied from interface: StringConversion
      Transform the given "raw" string" into an object of another type.
      Specified by:
      convert in interface StringConversion
      Parameters:
      raw - the string to convert
      Returns:
      the result of the conversion