public class AuditHandler extends XmlHandler
HandlerBase.SynchronizedDateFormat
Modifier and Type | Field and Description |
---|---|
protected String |
_home
Home directory of the audit.
|
protected Map |
_mimeType
Number of files processed by MIME type.
|
protected int |
_nAudit
Number of files audited.
|
protected Map |
_stateMap
State map.
|
protected 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(String filepath)
Determine whether or not to process the file.
|
boolean |
okToProcessImpl(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(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(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, valueToString
analyze, 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, xmlDecl
protected String _home
protected Map _mimeType
protected Map _stateMap
protected Stack _stateStack
protected long _t0
protected int _nAudit
public final void endDirectory()
endDirectory
in interface OutputHandler
endDirectory
in class HandlerBase
public void endDirectoryImpl(AuditState state)
state
- Audit handler statepublic final boolean okToProcess(String filepath)
okToProcess
in interface OutputHandler
okToProcess
in class HandlerBase
filepath
- File pathnamepublic boolean okToProcessImpl(String filepath, AuditState state)
filepath
- File pathnamestate
- Audit handler statepublic void show(RepInfo info)
show
in interface OutputHandler
show
in class XmlHandler
info
- Object representation informationpublic void showImpl(RepInfo info, AuditState state)
info
- Object representation informationstate
- Audit handler statepublic void showFooter()
showFooter
in interface OutputHandler
showFooter
in class XmlHandler
public void showFooterImpl(AuditState state)
state
- Audit handler statepublic void showHeader()
showHeader
in interface OutputHandler
showHeader
in class XmlHandler
public AuditState showHeaderImpl(String directory)
directory
- Current directory filepathpublic void startDirectory(String directory)
startDirectory
in interface OutputHandler
startDirectory
in class HandlerBase
directory
- Directory pathpublic void startDirectoryImpl(AuditState state)
state
- Audit handler stateCopyright © 2008–2017 The Open Preservation Foundation. All rights reserved.