Interface Validator

  • All Superinterfaces:
    java.lang.Comparable<Factory>, Factory
    All Known Implementing Classes:
    PEFValidator

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

      • validate

        boolean validate​(java.net.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

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