Package org.daisy.validator
Interface Validator
- All Superinterfaces:
Comparable<Factory>
,Factory
- All Known Implementing Classes:
PEFValidator
Simple interface for validators
- Author:
- Joel HÃ¥kansson
-
Method Summary
Modifier and TypeMethodDescriptionGets the report for the latest call to validateboolean
Validates the resource at the given URLMethods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.daisy.factory.Factory
getDescription, getDisplayName, getFeature, getIdentifier, getProperty, setFeature
-
Method Details
-
validate
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
-