Class CharOptionHandler

    • Constructor Detail

    • Method Detail

      • parse

        protected java.lang.Character parse​(java.lang.String argument)
                                     throws java.lang.NumberFormatException,
                                            CmdLineException
        Description copied from class: OneArgumentOptionHandler
        Parses a string to a real value of Type <T>.
        Specified by:
        parse in class OneArgumentOptionHandler<java.lang.Character>
        Parameters:
        argument - String value to parse
        Returns:
        the parsed value
        Throws:
        java.lang.NumberFormatException - if parsing is not possible
        CmdLineException - if the parsing encounters a failure that should be reported to the user.