class ConfigParser {

    public static void validateConfig(final Properties config, final String[] requiredStrings,
        final String[] requiredBooleans, final String[] requiredIntegers, final String[] requiredLongs)
        throws ExitException {
        for (final String param : requiredStrings) {
            parseString(config, param);
        }
        for (final String param : requiredBooleans) {
            parseBoolean(config, param);
        }
        for (final String param : requiredIntegers) {
            parseInteger(config, param);
        }
        for (final String param : requiredLongs) {
            parseLong(config, param);
        }
    }

    private  ConfigParser();

}