@Override public Integer read(String string) throws InvalidConfigException { return StringHelper.readInt(string, minValue, maxValue); }
/** * Parses the string and returns a number between minValue and * maxValue. * @param string The string to be parsed as an int. * @param minValue The minimum allowed value. * @param maxValue The maximum allowed value. * @return The int, between min and max (inclusive). * @throws InvalidConfigException If the number is invalid. */ protected final int readInt(String string, int minValue, int maxValue) throws InvalidConfigException { return StringHelper.readInt(string, minValue, maxValue); }