public class AuditHandler extends XmlHandler
HandlerBase.SynchronizedDateFormat| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
_home
Home directory of the audit.
|
protected java.util.Map |
_mimeType
Number of files processed by MIME type.
|
protected int |
_nAudit
Number of files audited.
|
protected java.util.Map |
_stateMap
State map.
|
protected java.util.Stack |
_stateStack
State stack.
|
protected long |
_t0
Initial time.
|
| Constructor and Description |
|---|
AuditHandler()
Instantiate a AudiHandler object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
endDirectory()
Callback indicating a directory is finished being processed.
|
void |
endDirectoryImpl(AuditState state)
Local extension to the standard callback indicating a directory is
finished being processed.
|
boolean |
okToProcess(java.lang.String filepath)
Determine whether or not to process the file.
|
boolean |
okToProcessImpl(java.lang.String filepath,
AuditState state)
Local extension to standard callback that determines whether or not
to process the file.
|
void |
show(RepInfo info)
Outputs the information contained in a RepInfo object
|
void |
showFooter()
Do the final output.
|
void |
showFooterImpl(AuditState state)
Local extension to the standard callback that does the final output.
|
void |
showHeader()
Do the initial output.
|
AuditState |
showHeaderImpl(java.lang.String directory)
Local extension to the standard callback that does the initial output.
|
void |
showImpl(RepInfo info,
AuditState state)
Local extension to the standard callback that outputs the
information contained in a RepInfo object
|
void |
startDirectory(java.lang.String directory)
Callback indicating a new directory is being processed.
|
void |
startDirectoryImpl(AuditState state)
Local extension to the standard callback indicating a new directory
is being processed.
|
rationalToString, show, show, show, show, showAESAudioMetadata, showAgent, showArrayProperty, showChangeHistory10, showChangeHistory20, showChecksum, showDocument, showIdentifier, showMessage, showNisoBasicDigitalObjectInformation10, showNisoBasicDigitalObjectInformation20, showNisoBasicImageInformation10, showNisoBasicImageInformation20, showNisoBasicImageParameters02, showNisoChangeHistory02, showNisoImageAssessmentMetadata10, showNisoImageAssessmentMetadata20, showNisoImageCaptureMetadata10, showNisoImageCaptureMetadata20, showNisoImageCreation02, showNisoImageMetadata, showNisoImageMetadata02, showNisoImageMetadata10, showNisoImageMetadata20, showNisoImagingPerformanceAssessment02, showProperty, showSignature, showTextMDMetadata, valueToStringanalyze, applyDefaultParams, close, doctype, doctype, doubleArray, element, element, element, element, elementEnd, elementStart, elementStart, getDate, getEncoding, getIndent, getName, getNote, getRelease, getRights, getSpecification, getVendor, init, integerArray, integerArray, longArray, param, rationalArray, rationalArray10, reset, resetParams, setApp, setBase, setDefaultParams, setEncoding, setWriter, toDateTime, xmlDecl, xmlDeclprotected java.lang.String _home
protected java.util.Map _mimeType
protected java.util.Map _stateMap
protected java.util.Stack _stateStack
protected long _t0
protected int _nAudit
public final void endDirectory()
endDirectory in interface OutputHandlerendDirectory in class HandlerBasepublic void endDirectoryImpl(AuditState state)
state - Audit handler statepublic final boolean okToProcess(java.lang.String filepath)
okToProcess in interface OutputHandlerokToProcess in class HandlerBasefilepath - File pathnamepublic boolean okToProcessImpl(java.lang.String filepath,
AuditState state)
filepath - File pathnamestate - Audit handler statepublic void show(RepInfo info)
show in interface OutputHandlershow in class XmlHandlerinfo - Object representation informationpublic void showImpl(RepInfo info, AuditState state)
info - Object representation informationstate - Audit handler statepublic void showFooter()
showFooter in interface OutputHandlershowFooter in class XmlHandlerpublic void showFooterImpl(AuditState state)
state - Audit handler statepublic void showHeader()
showHeader in interface OutputHandlershowHeader in class XmlHandlerpublic AuditState showHeaderImpl(java.lang.String directory)
directory - Current directory filepathpublic void startDirectory(java.lang.String directory)
startDirectory in interface OutputHandlerstartDirectory in class HandlerBasedirectory - Directory pathpublic void startDirectoryImpl(AuditState state)
state - Audit handler state