Package com.logicaldoc.impex
Class DefaultVerifier
java.lang.Object
com.logicaldoc.impex.ArchiveVerifier
com.logicaldoc.impex.DefaultVerifier
Class to verify an 'Default' archive
- Since:
- 4.5
- Author:
- Matteo Caruso - LogicalDOC
-
Constructor Summary
-
Method Summary
Methods inherited from class com.logicaldoc.impex.ArchiveVerifier
getArchiveName, getDocsDir, getIndex, getInstance, getInstance, getReport, isCheckDocs, isCheckDocsNumber, isCheckHashes, isCheckResources, isValid, setLogsLocale, setReport
-
Constructor Details
-
DefaultVerifier
public DefaultVerifier(File dir, IndexHandler handler) throws ParserConfigurationException, SAXException, IOException
-
-
Method Details
-
verify
public boolean verify()Description copied from class:ArchiveVerifier
It is the abstract method of the class. It is implemented by the inherit classes DefaultVerifier and StorageVerifier- Specified by:
verify
in classArchiveVerifier
- Returns:
- true if all checks are successfully
-