@Test public void testValidConfiguration() throws Exception { OcspNextUpdateSchemaValidator validator = new OcspNextUpdateSchemaValidator(); validator.validateFile(getClasspathFilename(VALID_FILE)); }
public void validateFile(String fileName) throws Exception { String xml = FileUtils.readFileToString(new File(fileName), StandardCharsets.UTF_8.toString()); validate(xml); }
OcspNextUpdateSchemaValidator extends SchemaValidator { public void validateFile(String fileName) throws Exception { String xml = FileUtils.readFileToString(new File(fileName), StandardCharsets.UTF_8.toString()); validate(xml); } }
OcspNextUpdateSchemaValidator extends SchemaValidator { public void validateFile(String fileName) throws Exception { String xml = FileUtils.readFileToString(new File(fileName), StandardCharsets.UTF_8.toString()); validate(xml); }  }
OcspNextUpdateSchemaValidator extends SchemaValidator { public void validateFile(String fileName) throws Exception { String xml = FileUtils.readFileToString(new File(fileName), StandardCharsets.UTF_8.toString()); validate(xml); }  static void main(String[] args); void validateFile(String fileName); static void validate(String xml); static void validate(Source source); }
OcspNextUpdateSchemaValidator extends SchemaValidator { public void validateFile(String fileName) throws Exception { String xml = FileUtils.readFileToString(new File(fileName), StandardCharsets.UTF_8.toString()); validate(xml); }  static void main(String[] args); void validateFile(String fileName); static void validate(String xml); static void validate(Source source);  }