Class WriterReportImpl

java.lang.Object
com.adobe.epubcheck.api.MasterReport
com.adobe.epubcheck.util.WriterReportImpl
All Implemented Interfaces:
LocalizableReport, Report

public class WriterReportImpl extends MasterReport
  • Field Details

    • DEBUG

      static boolean DEBUG
    • quiet

      boolean quiet
    • out

      final PrintWriter out
  • Constructor Details

    • WriterReportImpl

      public WriterReportImpl(PrintWriter out)
    • WriterReportImpl

      public WriterReportImpl(PrintWriter out, String info)
    • WriterReportImpl

      public WriterReportImpl(PrintWriter out, String info, boolean quiet)
  • Method Details

    • fixMessage

      String fixMessage(String message)
    • message

      public void message(Message message, EPUBLocation location, Object... args)
      Description copied from interface: Report
      Called when a violation of the standard is found in epub.
      Parameters:
      message - The message being reported
      location - location information for the message
      args - Arguments referenced by the format string for the message.
    • error

      void error(String resource, int line, int column, String message)
    • fatalError

      void fatalError(String resource, int line, int column, String message)
    • warning

      void warning(String resource, int line, int column, String message)
    • info

      public void info(String resource, FeatureEnum feature, String value)
      Description copied from interface: Report
      Called when when a feature is found in epub.
      Parameters:
      resource - name of the resource in the epub zip container that has this feature or null if the feature is on the container level.
      feature - a keyword to know what kind of feature has been found
      value - value found
    • initialize

      public void initialize()
      Description copied from interface: Report
      Called when a report if first created
    • hint

      public void hint(String resource, int line, int column, String message)
    • generate

      public int generate()
      Description copied from interface: Report
      Called to create a report after the checks have been made