Class BigIntegerStringParser

    • Constructor Detail

    • Method Detail

      • parse

        public java.lang.Object parse​(java.lang.String arg)
                               throws ParseException
        Parses the specified argument into a BigInteger. This method simply delegates the parsing to new BigInteger(String). If BigInteger throws a NumberFormatException, it is encapsulated into a ParseException and re-thrown.
        Specified by:
        parse in class StringParser
        Parameters:
        arg - the argument to parse
        Returns:
        a BigInteger object with the value contained in the specified argument.
        Throws:
        ParseException - if new BigInteger(arg) throws a NumberFormatException.
        See Also:
        BigInteger, StringParser.parse(String)