Uses of Class
org.jbehave.core.steps.ParameterConverters.FromStringParameterConverter
Packages that use ParameterConverters.FromStringParameterConverter
-
Uses of ParameterConverters.FromStringParameterConverter in org.jbehave.core.steps
Subclasses of ParameterConverters.FromStringParameterConverter in org.jbehave.core.stepsModifier and TypeClassDescriptionstatic class
static class
static class
static class
Parses value to aDate
using an injectableDateFormat
(defaults to new SimpleDateFormat("dd/MM/yyyy"))static class
Parses value to anyEnum
static class
Parses value to list of the sameEnum
, using an injectable value separator (defaults to ",") and trimming each element of the list.static class
Converts ExamplesTable to list of parameters, mapped to annotated custom types.static class
AnParameterConverters.EnumConverter
allowing stories prose to be more natural.static class
static class
Invokes method on instance to return value.static class
Converts values to numbers, supporting any subclass ofNumber
(including generic Number type), and it unboxed counterpart, using aNumberFormat
to parse to aNumber
and 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 class
Converts value to list of numbers.static class
static class
Converts value to list of String.Constructors in org.jbehave.core.steps with parameters of type ParameterConverters.FromStringParameterConverterModifierConstructorDescriptionAbstractListParameterConverter
(String valueSeparator, ParameterConverters.FromStringParameterConverter<T> elementConverter)