public interface ArgumentParser
<T> T parse(String argument, Class<T> type) throws ArgumentFormatException, IllegalArgumentException
T - class typeargument - string argumenttype - class typeArgumentFormatException - If the given argument is not parseable
to the specified type.IllegalArgumentException - If the specified type is not supported.<T> List<T> parse(List<String> arguments, Class<T> type) throws ArgumentFormatException, IllegalArgumentException
arguments - List of all arguments in String format.type - type class type.ArgumentFormatException - If the a given argument is not parseable
to the specified type.IllegalArgumentException - If the specified type is not supported.Copyright © 2015–2017. All rights reserved.