Interface Validator

All Superinterfaces:
Comparable<Factory>, Factory
All Known Implementing Classes:
PEFValidator

public interface Validator extends Factory
Simple interface for validators
Author:
Joel HÃ¥kansson
  • Method Details

    • validate

      boolean validate(URL input)
      Validates the resource at the given URL
      Parameters:
      input - the resource URL
      Returns:
      returns true if validation was successful and resource is valid, false otherwise
    • getReportStream

      InputStream getReportStream()
      Gets the report for the latest call to validate
      Returns:
      returns an InputStream for the report