cucumber.runtime.converters
Class BigIntegerConverter

java.lang.Object
  extended by cucumber.runtime.converters.ConverterWithNumberFormat<BigInteger>
      extended by cucumber.runtime.converters.BigIntegerConverter
All Implemented Interfaces:
cucumber.deps.com.thoughtworks.xstream.converters.ConverterMatcher, cucumber.deps.com.thoughtworks.xstream.converters.SingleValueConverter

public class BigIntegerConverter
extends ConverterWithNumberFormat<BigInteger>


Constructor Summary
BigIntegerConverter(Locale locale)
           
 
Method Summary
 boolean canConvert(Class type)
           
protected  BigInteger downcast(Number argument)
           
 String toString(Object obj)
           
 
Methods inherited from class cucumber.runtime.converters.ConverterWithNumberFormat
fromString, getFormats
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BigIntegerConverter

public BigIntegerConverter(Locale locale)
Method Detail

downcast

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

toString

public String toString(Object obj)
Specified by:
toString in interface cucumber.deps.com.thoughtworks.xstream.converters.SingleValueConverter

canConvert

public boolean canConvert(Class type)
Specified by:
canConvert in interface cucumber.deps.com.thoughtworks.xstream.converters.ConverterMatcher


Copyright © 2012. All Rights Reserved.