-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
332 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/sh | ||
|
||
######################################################################## | ||
# gdump - JSTOR/Harvard Object Validation Environment | ||
# Copyright 2004-2005 by the President and Fellows of Harvard College | ||
# JHOVE is made available under the GNU General Public License (see the | ||
# file LICENSE for details) | ||
# | ||
# Driver script for the GIF dump utility | ||
# | ||
# Usage: gdump file | ||
# | ||
# where file is a GIF file | ||
# | ||
# Configuration constants: | ||
|
||
JHOVE_HOME=/users/stephen/projects/jhove | ||
|
||
JAVA_HOME=/usr/java # Java JRE directory | ||
JAVA=$JAVA_HOME/bin/java # Java interpreter | ||
|
||
EXTRA_JARS= # Extra .jar files to add to CLASSPATH | ||
|
||
# NOTE: Nothing below this line should be edited | ||
######################################################################## | ||
|
||
CP=${JHOVE_HOME}/bin/JhoveApp.jar:${EXTRA_JARS} | ||
|
||
# Retrieve a copy of all command line arguments to pass to the application. | ||
|
||
ARGS="" | ||
for ARG do | ||
ARGS="$ARGS $ARG" | ||
done | ||
|
||
# Set the CLASSPATH and invoke the Java loader. | ||
${JAVA} -classpath $CP GDump $ARGS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
@ECHO OFF | ||
REM gdump - JSTOR/Harvard Object Validation Environment | ||
REM Copyright 2004-2005 by the President and Fellows of Harvard College | ||
REM JHOVE is made available under the GNU General Public License (see the | ||
REM file LICENSE for details) | ||
REM | ||
REM Driver script for the GIF dump utility | ||
REM | ||
REM Usage: gdump file | ||
REM | ||
REM where file is a GIF file | ||
REM | ||
REM Configuration constants: | ||
REM JHOVE_HOME Jhove installation directory | ||
REM JAVA_HOME Java JRE directory | ||
REM JAVA Java interpreter | ||
REM EXTRA_JARS Extra jar files to add to CLASSPATH | ||
|
||
SET JHOVE_HOME="C:\Program Files\jhove" | ||
|
||
SET JAVA_HOME="C:\Program Files\java\j2re1.4.1_02" | ||
SET JAVA=%JAVA_HOME%\bin\java | ||
|
||
SET EXTRA_JARS= | ||
|
||
REM NOTE: Nothing below this line should be edited | ||
REM ######################################################################### | ||
|
||
|
||
SET CP=%JHOVE_HOME%\bin\JhoveApp.jar | ||
IF "%EXTRA_JARS%"=="" GOTO FI | ||
SET CP=%CP%:%EXTRA_JARS | ||
:FI | ||
|
||
REM Retrieve a copy of all command line arguments to pass to the application | ||
|
||
SET ARGS= | ||
:WHILE | ||
IF "%1"=="" GOTO LOOP | ||
SET ARGS=%ARGS% %1 | ||
SHIFT | ||
GOTO WHILE | ||
:LOOP | ||
|
||
REM Set the CLASSPATH and invoke the Java loader | ||
%JAVA% -classpath %CP% GDump %ARGS% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/sh | ||
|
||
######################################################################## | ||
# j2dump - JSTOR/Harvard Object Validation Environment | ||
# Copyright 2004-2005 by the President and Fellows of Harvard College | ||
# JHOVE is made available under the GNU General Public License (see the | ||
# file LICENSE for details) | ||
# | ||
# Driver script for the JPEG 2000 dump utility | ||
# | ||
# Usage: j2dump file | ||
# | ||
# where file is a JPEG file | ||
# | ||
# Configuration constants: | ||
|
||
JHOVE_HOME=/users/stephen/projects/jhove | ||
|
||
JAVA_HOME=/usr/java # Java JRE directory | ||
JAVA=$JAVA_HOME/bin/java # Java interpreter | ||
|
||
EXTRA_JARS= # Extra .jar files to add to CLASSPATH | ||
|
||
# NOTE: Nothing below this line should be edited | ||
######################################################################## | ||
|
||
CP=${JHOVE_HOME}/bin/JhoveApp.jar:${EXTRA_JARS} | ||
|
||
# Retrieve a copy of all command line arguments to pass to the application. | ||
|
||
ARGS="" | ||
for ARG do | ||
ARGS="$ARGS $ARG" | ||
done | ||
|
||
# Set the CLASSPATH and invoke the Java loader. | ||
${JAVA} -classpath $CP J2Dump $ARGS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
@ECHO OFF | ||
REM j2dump - JSTOR/Harvard Object Validation Environment | ||
REM Copyright 2004-205 by the President and Fellows of Harvard College | ||
REM JHOVE is made available under the GNU General Public License (see the | ||
REM file LICENSE for details) | ||
REM | ||
REM Driver script for the JPEG 2000 dump utility | ||
REM | ||
REM Usage: j2dump file | ||
REM | ||
REM where file is a JPEG file | ||
REM | ||
REM Configuration constants: | ||
REM JHOVE_HOME Jhove installation directory | ||
REM JAVA_HOME Java JRE directory | ||
REM JAVA Java interpreter | ||
REM EXTRA_JARS Extra jar files to add to CLASSPATH | ||
|
||
SET JHOVE_HOME="C:\Program Files\jhove" | ||
|
||
SET JAVA_HOME="C:\Program Files\java\j2re1.4.1_02" | ||
SET JAVA=%JAVA_HOME%\bin\java | ||
|
||
SET EXTRA_JARS= | ||
|
||
REM NOTE: Nothing below this line should be edited | ||
REM ######################################################################### | ||
|
||
|
||
SET CP=%JHOVE_HOME%\bin\JhoveApp.jar | ||
IF "%EXTRA_JARS%"=="" GOTO FI | ||
SET CP=%CP%:%EXTRA_JARS | ||
:FI | ||
|
||
REM Retrieve a copy of all command line arguments to pass to the application | ||
|
||
SET ARGS= | ||
:WHILE | ||
IF "%1"=="" GOTO LOOP | ||
SET ARGS=%ARGS% %1 | ||
SHIFT | ||
GOTO WHILE | ||
:LOOP | ||
|
||
REM Set the CLASSPATH and invoke the Java loader | ||
%JAVA% -classpath %CP% JDump %ARGS% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/sh | ||
|
||
######################################################################## | ||
# jdump - JSTOR/Harvard Object Validation Environment | ||
# Copyright 2004-2005 by the President and Fellows of Harvard College | ||
# JHOVE is made available under the GNU General Public License (see the | ||
# file LICENSE for details) | ||
# | ||
# Driver script for the JPEG dump utility | ||
# | ||
# Usage: jdump file | ||
# | ||
# where file is a JPEG file | ||
# | ||
# Configuration constants: | ||
|
||
JHOVE_HOME=/users/stephen/projects/jhove | ||
|
||
JAVA_HOME=/usr/java # Java JRE directory | ||
JAVA=$JAVA_HOME/bin/java # Java interpreter | ||
|
||
EXTRA_JARS= # Extra .jar files to add to CLASSPATH | ||
|
||
# NOTE: Nothing below this line should be edited | ||
######################################################################## | ||
|
||
CP=${JHOVE_HOME}/bin/JhoveApp.jar:${EXTRA_JARS} | ||
|
||
# Retrieve a copy of all command line arguments to pass to the application. | ||
|
||
ARGS="" | ||
for ARG do | ||
ARGS="$ARGS $ARG" | ||
done | ||
|
||
# Set the CLASSPATH and invoke the Java loader. | ||
${JAVA} -classpath $CP JDump $ARGS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
@ECHO OFF | ||
REM jdump - JSTOR/Harvard Object Validation Environment | ||
REM Copyright 2004-2005 by the President and Fellows of Harvard College | ||
REM JHOVE is made available under the GNU General Public License (see the | ||
REM file LICENSE for details) | ||
REM | ||
REM Driver script for the JPEG dump utility | ||
REM | ||
REM Usage: jdump file | ||
REM | ||
REM where file is a JPEG file | ||
REM | ||
REM Configuration constants: | ||
REM JHOVE_HOME Jhove installation directory | ||
REM JAVA_HOME Java JRE directory | ||
REM JAVA Java interpreter | ||
REM EXTRA_JARS Extra jar files to add to CLASSPATH | ||
|
||
SET JHOVE_HOME="C:\Program Files\jhove" | ||
|
||
SET JAVA_HOME="C:\Program Files\java\j2re1.4.1_02" | ||
SET JAVA=%JAVA_HOME%\bin\java | ||
|
||
SET EXTRA_JARS= | ||
|
||
REM NOTE: Nothing below this line should be edited | ||
REM ######################################################################### | ||
|
||
|
||
SET CP=%JHOVE_HOME%\bin\JhoveApp.jar | ||
IF "%EXTRA_JARS%"=="" GOTO FI | ||
SET CP=%CP%:%EXTRA_JARS | ||
:FI | ||
|
||
REM Retrieve a copy of all command line arguments to pass to the application | ||
|
||
SET ARGS= | ||
:WHILE | ||
IF "%1"=="" GOTO LOOP | ||
SET ARGS=%ARGS% %1 | ||
SHIFT | ||
GOTO WHILE | ||
:LOOP | ||
|
||
REM Set the CLASSPATH and invoke the Java loader | ||
%JAVA% -classpath %CP% JDump %ARGS% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/sh | ||
|
||
######################################################################## | ||
# pdump - JSTOR/Harvard Object Validation Environment | ||
# Copyright 2003-2005 by JSTOR and the President and Fellows of Harvard College | ||
# JHOVE is made available under the GNU General Public License (see the | ||
# file LICENSE for details) | ||
# | ||
# Driver script for the PDF dump utility | ||
# | ||
# Usage: pdump file | ||
# | ||
# where file is a PDF file | ||
# | ||
# Configuration constants: | ||
|
||
JHOVE_HOME=/users/stephen/projects/jhove | ||
|
||
JAVA_HOME=/usr/java # Java JRE directory | ||
JAVA=$JAVA_HOME/bin/java # Java interpreter | ||
|
||
EXTRA_JARS= # Extra .jar files to add to CLASSPATH | ||
|
||
# NOTE: Nothing below this line should be edited | ||
######################################################################## | ||
|
||
CP=${JHOVE_HOME}/bin/JhoveApp.jar:${EXTRA_JARS} | ||
|
||
# Retrieve a copy of all command line arguments to pass to the application. | ||
|
||
ARGS="" | ||
for ARG do | ||
ARGS="$ARGS $ARG" | ||
done | ||
|
||
# Set the CLASSPATH and invoke the Java loader. | ||
${JAVA} -classpath $CP PDump $ARGS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
@ECHO OFF | ||
REM pdump - JSTOR/Harvard Object Validation Environment | ||
REM Copyright 2003-2005 by JSTOR and the President and Fellows of Harvard College | ||
REM JHOVE is made available under the GNU General Public License (see the | ||
REM file LICENSE for details) | ||
REM | ||
REM Driver script for the PDF dump utility | ||
REM | ||
REM Usage: pdump file | ||
REM | ||
REM where file is a PDF file | ||
REM | ||
REM Configuration constants: | ||
REM JHOVE_HOME Jhove installation directory | ||
REM JAVA_HOME Java JRE directory | ||
REM JAVA Java interpreter | ||
REM EXTRA_JARS Extra jar files to add to CLASSPATH | ||
|
||
SET JHOVE_HOME="C:\Program Files\jhove" | ||
|
||
SET JAVA_HOME="C:\Program Files\java\j2re1.4.1_02" | ||
SET JAVA=%JAVA_HOME%\bin\java | ||
|
||
SET EXTRA_JARS= | ||
|
||
REM NOTE: Nothing below this line should be edited | ||
REM ######################################################################### | ||
|
||
|
||
SET CP=%JHOVE_HOME%\bin\JhoveApp.jar | ||
IF "%EXTRA_JARS%"=="" GOTO FI | ||
SET CP=%CP%:%EXTRA_JARS | ||
:FI | ||
|
||
REM Retrieve a copy of all command line arguments to pass to the application | ||
|
||
SET ARGS= | ||
:WHILE | ||
IF "%1"=="" GOTO LOOP | ||
SET ARGS=%ARGS% %1 | ||
SHIFT | ||
GOTO WHILE | ||
:LOOP | ||
|
||
REM Set the CLASSPATH and invoke the Java loader | ||
%JAVA% -classpath %CP% PDump %ARGS% |