Class Parser.IntegerParser

  • All Implemented Interfaces:
    Parser<java.lang.Integer>
    Enclosing interface:
    Parser<T>

    public static class Parser.IntegerParser
    extends java.lang.Object
    implements Parser<java.lang.Integer>
    A converter to integer values.
    • Constructor Detail

      • IntegerParser

        public IntegerParser()
    • Method Detail

      • parse

        public java.lang.Integer parse​(java.lang.String s)
        Description copied from interface: Parser
        Parse the value into a typed instance.
        Specified by:
        parse in interface Parser<java.lang.Integer>
        Parameters:
        s - The string value.
        Returns:
        The typed instance.