Package edu.harvard.hul.ois.jhove
Class ObjectIdentifier
- java.lang.Object
-
- edu.harvard.hul.ois.jhove.ObjectIdentifier
-
public class ObjectIdentifier extends Object
Module for identification of a document. "Identification" means determining, by querying modules successively, what the format of a document is. The Bytestream module is always queried last, so a document will by identified as a Bytestream if all else fails.
-
-
Constructor Summary
Constructors Constructor Description ObjectIdentifier(List<Module> moduleList)CLASS CONSTRUCTOR.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voididentify(File file, RepInfo info, String parm, boolean verbose, boolean shortCheck)Perform identification on a file.
-
-
-
Method Detail
-
identify
public void identify(File file, RepInfo info, String parm, boolean verbose, boolean shortCheck)
Perform identification on a file. The file is parsed by each of the modules in the module list until one declares that the file is well-formed. It is assumed that there is a module in the list (normally Bytestream at the end) which will always consider a file well-formed.
-
-