class AppSchemaValidator {

    public static void validateResource(String name, SchemaCatalog catalog) {
        InputStream input = null;
        try {
            input = AppSchemaValidator.class.getResourceAsStream(name);
            validate(input, catalog);
        } finally {
            if (input != null) {
                try {
                    input.close();
                } catch (IOException e) {
                    // we tried
                }
            }
        }
    }

    private  AppSchemaValidator();
    private  AppSchemaValidator(SchemaResolver resolver);
    private  AppSchemaValidator(SchemaCatalog catalog);

}