cucumber.runtime.converters
Class BigDecimalConverter

java.lang.Object
  extended by cucumber.runtime.converters.ConverterWithFormat<T>
      extended by cucumber.runtime.converters.ConverterWithNumberFormat<BigDecimal>
          extended by cucumber.runtime.converters.BigDecimalConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.ConverterMatcher, com.thoughtworks.xstream.converters.SingleValueConverter

public class BigDecimalConverter
extends ConverterWithNumberFormat<BigDecimal>


Constructor Summary
BigDecimalConverter(Locale locale)
           
 
Method Summary
protected  BigDecimal downcast(Number argument)
           
 
Methods inherited from class cucumber.runtime.converters.ConverterWithNumberFormat
fromString, getFormats
 
Methods inherited from class cucumber.runtime.converters.ConverterWithFormat
canConvert, toString, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BigDecimalConverter

public BigDecimalConverter(Locale locale)
Method Detail

downcast

protected BigDecimal downcast(Number argument)
Specified by:
downcast in class ConverterWithNumberFormat<BigDecimal>


Copyright © 2012. All Rights Reserved.