Class AuditCount

java.lang.Object
edu.harvard.hul.ois.jhove.handler.audit.AuditCount
Direct Known Subclasses:
AuditState

public class AuditCount extends Object
Count object for the JHOVE Audit output handler.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
    Number of not-well-formed files.
    protected int
    Number of undetermined files.
    protected int
    Number of valid files.
    protected int
    Number of well-formed files.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates an AuditCount object.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the count of not-well-formed files.
    int
    Returns the total number of processed files.
    int
    Returns the count of undetermined files.
    int
    Returns the total number of valid files.
    int
    Returns the total number of well-formed files.
    void
    setNotWellFormed(int notWellFormed)
    Sets the count of not-well-formed files.
    void
    setUndetermined(int undetermined)
    Sets the count of undetermined files.
    void
    setValid(int valid)
    Sets the count of valid files.
    void
    setWellFormed(int wellFormed)
    Sets the count of well-formed files.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • _valid

      protected int _valid
      Number of valid files.
    • _wellFormed

      protected int _wellFormed
      Number of well-formed files.
    • _notWellFormed

      protected int _notWellFormed
      Number of not-well-formed files.
    • _undetermined

      protected int _undetermined
      Number of undetermined files.
  • Constructor Details

    • AuditCount

      public AuditCount()
      Instantiates an AuditCount object.
  • Method Details

    • getTotal

      public int getTotal()
      Returns the total number of processed files.
    • getValid

      public int getValid()
      Returns the total number of valid files.
    • getWellFormed

      public int getWellFormed()
      Returns the total number of well-formed files.
    • getNotWellFormed

      public int getNotWellFormed()
      Returns the count of not-well-formed files.
    • getUndetermined

      public int getUndetermined()
      Returns the count of undetermined files.
    • setValid

      public void setValid(int valid)
      Sets the count of valid files.
    • setWellFormed

      public void setWellFormed(int wellFormed)
      Sets the count of well-formed files.
    • setNotWellFormed

      public void setNotWellFormed(int notWellFormed)
      Sets the count of not-well-formed files.
    • setUndetermined

      public void setUndetermined(int undetermined)
      Sets the count of undetermined files.