Uses of Class
org.jbehave.core.steps.ParameterConverters.AbstractParameterConverter
Packages that use ParameterConverters.AbstractParameterConverter
-
Uses of ParameterConverters.AbstractParameterConverter in org.jbehave.core.steps
Subclasses of ParameterConverters.AbstractParameterConverter in org.jbehave.core.stepsModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classParses value to aDateusing an injectableDateFormat(defaults to new SimpleDateFormat("dd/MM/yyyy"))static classParses value to anyEnumstatic classParses value to list of the sameEnum, using an injectable value separator (defaults to ",") and trimming each element of the list.static classConverts value toExamplesTableusing aExamplesTableFactory.static classConverts ExamplesTable to list of parameters, mapped to annotated custom types.static classAnParameterConverters.EnumConverterallowing stories prose to be more natural.static classstatic classstatic classstatic classInvokes method on instance to return value.static classConverts values to numbers, supporting any subclass ofNumber(including generic Number type), and it unboxed counterpart, using aNumberFormatto parse to aNumberand to convert it to a specific number type: Byte, byte:Number.byteValue()Short, short:Number.shortValue()Integer, int:Number.intValue()Float, float:Number.floatValue()Long, long:Number.longValue()Double, double:Number.doubleValue()BigInteger:BigInteger.valueOf(long)BigDecimal:BigDecimal.valueOf(double)If no number format is provided, it defaults toNumberFormat.getInstance().static classConverts value to list of numbers.static classstatic classConverts value to list of String.