Class CheckingReport

    • Constructor Detail

      • CheckingReport

        public CheckingReport​(java.io.PrintWriter out,
                              java.lang.String epubName)
    • Method Detail

      • setParameters

        void setParameters()
      • generate

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

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

        void getJsonReport()
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • sortCollections

        void sortCollections()
      • getProcessDuration

        long getProcessDuration()
      • setStartDate

        void setStartDate()
      • setStopDate

        void setStopDate()
      • message

        public void message​(Message message,
                            EPUBLocation location,
                            java.lang.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.
      • info

        public void info​(java.lang.String resource,
                         FeatureEnum feature,
                         java.lang.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
      • getItemIndex

        java.util.Map<java.lang.String,​ItemMetadata> getItemIndex()