Skip to content

JHOVE2 0.6.0_Download

jhove2 edited this page Aug 31, 2010 · 5 revisions

Table of Contents

JHOVE2 v0.6.0

The following downloads are available:

  • **Beta prototype** (v. 0.6.0, 2010-03-17)

The updated JHOVE2 architecture reflected in this prototype is described in the architectural overview.

The distribution package includes two JHOVE2 driver shell scripts in the JHOVE2 installation directory:

  • jhove2.bat - DOS script for Windows
  • jhove2.sh - Bourne shell script for Unix/Linux

In addition to invoking the JHOVE2 command, these scripts define the variables for JHOVE2_HOME and JAVA.

  • **JHOVE2_HOME** defaults to the directory where the script file resides (i.e the JHOVE2 installation directory).
  • **JAVA** defaults to $JAVA_HOME/bin/java.
    • If $JAVA_HOME is not set, JAVA=java.
    • JHOVE2 **requires** JRE 1.6 or higher.

Using these scripts JHOVE2 can be invoked with the following syntax:

|=Argument \\ (short form) |=Argument \\ (long form) |=Function | | -h | --help | Display a help message. | | -i | --show-identifiers | Show the unique formal identifiers for all reportable properties in results. | | -k | --calc-digests | Calculate message digests. | | -T | --save-temp-files | Do not delete temporary files. | | -b //size// | --buffer-size isize | I/O buffer size (default=131072). | | -B //type// | --buffer-type //type// | I/O buffer type (default=Direct) | | -d //format// | --display //format// | Results format (default=Text). | | -f //limit// | --fail-fast //limit// | Fail fast limit (default=0; no limit on the number of reported errors. | | -t //temp// | --temp //temp// | Temporary directory (default=java.io.tmpdir) | | -o //file// | --output //file// | Output file (default=standard output unit) | | //file// ... | | One or more files or directories to be characterized. | The distribution package contains a limited set of test data. Invoking JHOVE2, using the default Text displayer, as:

will generate this text in ANVL format: ANVL output example.

Here is a JSON output example using the -d JSON option.

Here is an XML output example using the -d XML option.

Features

  • Format identification, validation, feature extraction, and assessment.
  • Appropriate recursive processing of directories, file sets, clumps, and container files (see the architectural overview for the definition of file sets and clumps).
  • High performance buffered I/O using the Java NIO package.
  • Integration with DROID for file identification.
  • Message digesting for the following algorithms: Adler-32, CRC-32, MD2, MD5, SHA-1, SHA-256, SHA-384, SHA-512
  • Results formatted as text (name/value pairs), JSON, and XML
  • Use of the Spring Framework v2.5.6 Inversion-of-Control (IOC) container for flexible application and module configuration using dependency injection.
  • Complete modules:
  • A partially functional Zip module.
  • A minimally functional Shapefile module.

Caveats

Please note the following limitations regarding the prototype v. 0.6.0:

  • JHOVE2 requires a 1.6 JRE.
  • This prototype is being made available to provide an early look at the new JHOVE2 architecture and APIs. While the full processing model is demonstrated, there is //limited format support// at this time.
  • The aggregate-level identification module (i.e. the "aggrefier" module) has been configured in the Spring configuration files in this distribution to recognize a Shapefile formed by the files with the extensions ".shp", ".shx", and ".dbf". However, as noted above, the Shapefile module itself is minimally functional.
  • There is no assessment module available for review at this time.

The JHOVE2 project team is now working on additional format modules. These will be added to the public distribution as they become available.

Utilties

Utility scripts are also included in the JHOVE2 installation directiory to support Windows (.bat) and Unix/Linux (.sh):

  • jhove2_doc - JHOVE2 Reportable documentation utility.
  • jhove2_upfg - JHOVE2 utility to generate editable Java properties file for units of measure settings for Reportable features that have a Numeric type
  • jhove2_dpfg - JHOVE2 utility to generate editable Java properties file for Displayer settings forReportable features

The usage declarations for the scripts are as follows (.sh):

Invoking jhove2_doc.sh as:

will generate this output.

Invoking jhove2_upfg.sh as:

will generate this output.

Invoking jhove2_dpfg.sh as:

will generate this output

Please see the architectural overview document for information about the intent and use of these scripts in the development of new JHOVE2 modules, and the generation of user-editable configuration files for new and existing JHOVE2 modules.

    • Please direct any comments or suggestions to the "JHOVE2-TechTalk-L" mailing list for community discussion.**