cucumber.runtime.converters
Class ConverterWithEnumFormat<T extends Enum>
java.lang.Object
cucumber.runtime.converters.ConverterWithFormat<T>
cucumber.runtime.converters.ConverterWithEnumFormat<T>
- All Implemented Interfaces:
- com.thoughtworks.xstream.converters.ConverterMatcher, com.thoughtworks.xstream.converters.SingleValueConverter
- Direct Known Subclasses:
- EnumConverter
public class ConverterWithEnumFormat<T extends Enum>
- extends ConverterWithFormat<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConverterWithEnumFormat
public ConverterWithEnumFormat(Locale locale,
Class<? extends Enum> enumClass)
fromString
public T fromString(String string)
- Specified by:
fromString
in interface com.thoughtworks.xstream.converters.SingleValueConverter
- Overrides:
fromString
in class ConverterWithFormat<T extends Enum>
getFormats
public List<Format> getFormats()
- Specified by:
getFormats
in class ConverterWithFormat<T extends Enum>
- Returns:
- A Format to parse the argument
Copyright © 2012. All Rights Reserved.