Class StringToBigInteger


  • public class StringToBigInteger
    extends Conversion<java.lang.String,​java.math.BigInteger>
    A default Integrity conversion.
    Author:
    Rene Schneider - initial API and implementation
    • Constructor Detail

      • StringToBigInteger

        public StringToBigInteger()
    • Method Detail

      • convert

        public java.math.BigInteger convert​(java.lang.String aSource,
                                            java.lang.Class<? extends java.math.BigInteger> aTargetType,
                                            ConversionContext aConversionContext)
                                     throws ConversionFailedException
        Description copied from class: Conversion
        Performs the conversion.
        Specified by:
        convert in class Conversion<java.lang.String,​java.math.BigInteger>
        Parameters:
        aSource - the source object to convert
        aTargetType - TODO
        aConversionContext - controls some conversion parameters and rules; may be null if the default ConversionContext values shall be used
        Returns:
        the converted object
        Throws:
        ConversionFailedException - in case of conversion errors