Class AuditState
- java.lang.Object
-
- edu.harvard.hul.ois.jhove.handler.audit.AuditCount
-
- edu.harvard.hul.ois.jhove.handler.audit.AuditState
-
- All Implemented Interfaces:
Cloneable
public class AuditState extends AuditCount implements Cloneable
State object for the JHOVE Audit output handler.
-
-
Field Summary
Fields Modifier and Type Field Description protected String_directoryDirectory pathname.-
Fields inherited from class edu.harvard.hul.ois.jhove.handler.audit.AuditCount
_notWellFormed, _undetermined, _valid, _wellFormed
-
-
Constructor Summary
Constructors Constructor Description AuditState(String directory)Instantiates anAuditStateobject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone(String directory)Creates and returns a copy of this object.StringgetDirectory()Returns the directory path.protected voidinit(String directory)Initializes to a specified directory and clears counters.voidsetDirectory(String directory)Sets the directory path.-
Methods inherited from class edu.harvard.hul.ois.jhove.handler.audit.AuditCount
getNotWellFormed, getTotal, getUndetermined, getValid, getWellFormed, setNotWellFormed, setUndetermined, setValid, setWellFormed
-
-
-
-
Field Detail
-
_directory
protected String _directory
Directory pathname.
-
-
Constructor Detail
-
AuditState
public AuditState(String directory)
Instantiates anAuditStateobject.
-
-
Method Detail
-
init
protected void init(String directory)
Initializes to a specified directory and clears counters.
-
clone
public Object clone(String directory) throws CloneNotSupportedException
Creates and returns a copy of this object.- Throws:
CloneNotSupportedException
-
getDirectory
public String getDirectory()
Returns the directory path.
-
setDirectory
public void setDirectory(String directory)
Sets the directory path.
-
-