Package | Description |
---|---|
com.mcgath.jhove.module | |
com.mcgath.jhove.module.png | |
edu.harvard.hul.ois.jhove |
Contains the classes needed for building a JHOVE application.
|
edu.harvard.hul.ois.jhove.handler |
Contains the main classes for JHOVE output handlers.
|
edu.harvard.hul.ois.jhove.module |
Contains the main classes for JHOVE modules.
|
edu.harvard.hul.ois.jhove.module.aiff |
Contains supporting classes for the AIFF-HUL module.
|
edu.harvard.hul.ois.jhove.module.html |
Contains supporting classes for the HTML-HUL module.
|
edu.harvard.hul.ois.jhove.module.iff |
Contains supporting classes for modules based on the IFF
specification (EA IFF 85).
|
edu.harvard.hul.ois.jhove.module.jpeg |
Contains supporting classes for the JPEG-HUL module.
|
edu.harvard.hul.ois.jhove.module.jpeg2000 |
Contains supporting classes for the JPEG2000-HUL module.
|
edu.harvard.hul.ois.jhove.module.pdf |
Contains supporting classes for the PDF-HUL module.
|
edu.harvard.hul.ois.jhove.module.tiff |
Contains supporting classes for the TIFF-HUL module.
|
edu.harvard.hul.ois.jhove.module.wave |
Contains supporting classes for the WAVE-HUL module.
|
edu.harvard.hul.ois.jhove.viewer |
Contains the classes for the JHOVE GUI.
|
Modifier and Type | Method and Description |
---|---|
void |
PngModule.checkSignatures(File file,
InputStream stream,
RepInfo info)
Check if the digital object conforms to this Module's
internal signature information.
|
int |
PngModule.parse(InputStream stream,
RepInfo info,
int parseIndex)
Parse the content of a purported JPEG stream digital object and store the
results in RepInfo.
|
Modifier and Type | Method and Description |
---|---|
void |
ZtxtChunk.processChunk(RepInfo info) |
void |
TrnsChunk.processChunk(RepInfo info)
Process the data in the chunk.
|
void |
TimeChunk.processChunk(RepInfo info)
The tIME chunk has the following: 2 bytes year (short),
1 byte month, 1 byte day, 1 byte hour, 1 byte minute,
1 byte second.
|
void |
TextChunk.processChunk(RepInfo info) |
void |
SrgbChunk.processChunk(RepInfo info)
Process the data in the chunk.
|
void |
SpltChunk.processChunk(RepInfo info)
Process the chunk.
|
void |
SbitChunk.processChunk(RepInfo info)
The SBIT chunk contains 1 to 4 bytes of information giving the
number of significant bits per color.
|
void |
PlteChunk.processChunk(RepInfo info) |
void |
PhysChunk.processChunk(RepInfo info)
Process the data in the chunk.
|
void |
PNGChunk.processChunk(RepInfo info)
Process a chunk.
|
void |
ItxtChunk.processChunk(RepInfo info)
Process the data portion of the chunk.
|
void |
IhdrChunk.processChunk(RepInfo info)
The IHDR chunk contains image information in a fixed format.
|
void |
IendChunk.processChunk(RepInfo info) |
void |
IdatChunk.processChunk(RepInfo info)
Process the chunk.
|
void |
IccpChunk.processChunk(RepInfo info) |
void |
HistChunk.processChunk(RepInfo info)
Process the data in the chunk.
|
void |
GamaChunk.processChunk(RepInfo info) |
void |
ChrmChunk.processChunk(RepInfo info)
The IHDR chunk contains image information in a fixed format.
|
void |
BkgdChunk.processChunk(RepInfo info)
Process the data in the chunk.
|
void |
PNGChunk.processChunkCommon(RepInfo info)
Common code to call at the start of every processChunk method.
|
Modifier and Type | Method and Description |
---|---|
void |
OutputHandler.analyze(RepInfo info)
Callback allowing post-parse, pre-show analysis of object
representation information.
|
void |
HandlerBase.analyze(RepInfo info)
Callback allowing post-parse, pre-show analysis of object
representation information.
|
void |
ModuleBase.checkSignatures(File file,
InputStream stream,
RepInfo info)
Check if the digital object conforms to this Module's
internal signature information.
|
void |
Module.checkSignatures(File file,
InputStream stream,
RepInfo info)
Check if the digital object conforms to this Module's
internal signature information.
|
void |
ModuleBase.checkSignatures(File file,
RandomAccessFile raf,
RepInfo info)
Check if the digital object conforms to this Module's
internal signature information.
|
void |
Module.checkSignatures(File file,
RandomAccessFile raf,
RepInfo info)
Check if the digital object conforms to this Module's
internal signature information.
|
File |
JhoveBase.connToTempFile(URLConnection conn,
RepInfo info)
Saves a URLConnection's data stream to a temporary file.
|
void |
RepInfo.copy(RepInfo info)
Copies all the information out of the parameter object.
|
void |
ObjectIdentifier.identify(File file,
RepInfo info,
String parm,
boolean verbose,
boolean shortCheck)
Perform identification on a file.
|
Property |
PropertyPath.locateProperty(RepInfo info)
Walk down the path and return the specified Property.
|
Property |
PropertyPath.locateProperty(RepInfo info,
boolean trace)
Walk down the path and return the specified Property.
|
int |
ModuleBase.parse(InputStream stream,
RepInfo info,
int parseIndex)
Parse the content of a stream digital object and store the
results in RepInfo.
|
int |
Module.parse(InputStream stream,
RepInfo info,
int parseIndex)
Parse the content of a stream digital object and store the
results in RepInfo.
|
void |
ModuleBase.parse(RandomAccessFile file,
RepInfo info)
Parse the content of a random access digital object and store the
results in RepInfo.
|
void |
Module.parse(RandomAccessFile file,
RepInfo info)
Parse the content of a random access digital object and store the
results in RepInfo.
|
boolean |
JhoveBase.processFile(App app,
Module module,
boolean verbose,
File file,
RepInfo info) |
protected void |
ModuleBase.setChecksums(Checksummer ckSummer,
RepInfo info)
Set the checksum values.
|
void |
OutputHandler.show(RepInfo info)
Outputs the information contained in a RepInfo object
|
abstract void |
HandlerBase.show(RepInfo info)
Outputs the information contained in a RepInfo object
|
Constructor and Description |
---|
RepInfo(String uri,
RepInfo external)
Creates a RepInfo with a URI reference and an external RepInfo.
|
Modifier and Type | Method and Description |
---|---|
void |
XmlHandler.show(RepInfo info)
Outputs the information contained in a RepInfo object
|
void |
TextHandler.show(RepInfo info)
Outputs the information contained in a RepInfo object
|
void |
AuditHandler.show(RepInfo info)
Outputs the information contained in a RepInfo object
|
void |
AuditHandler.showImpl(RepInfo info,
AuditState state)
Local extension to the standard callback that outputs the
information contained in a RepInfo object
|
Modifier and Type | Method and Description |
---|---|
protected void |
PdfModule.addDestination(PdfObject itemObj,
String propName,
List<Property> propList,
RepInfo info) |
protected void |
PdfModule.addPagesProperty(List<Property> metadataList,
RepInfo info) |
protected Property |
PdfModule.buildAnnotProperty(PdfDictionary annot,
RepInfo info) |
protected Property |
JpegModule.buildCapProp(RepInfo info) |
protected Property |
JpegModule.buildExpandProp(RepInfo info) |
protected Property |
PdfModule.buildOutlineItemProperty(PdfDictionary dict,
RepInfo info) |
protected Property |
PdfModule.buildOutlinesProperty(PdfDictionary dict,
RepInfo info) |
protected Property |
PdfModule.buildPageProperty(PageObject page,
int idx,
RepInfo info) |
protected Property |
JpegModule.buildTilingProp(RepInfo info) |
protected boolean |
Utf8Module.checkMark(int byt,
RepInfo info) |
void |
XmlModule.checkSignatures(File file,
InputStream stream,
RepInfo info)
Check if the digital object conforms to this Module's
internal signature information.
|
void |
Utf8Module.checkSignatures(File file,
InputStream stream,
RepInfo info)
Check if the digital object conforms to this Module's internal signature
information.
|
void |
JpegModule.checkSignatures(File file,
InputStream stream,
RepInfo info)
Check if the digital object conforms to this Module's internal signature
information.
|
void |
HtmlModule.checkSignatures(File file,
InputStream stream,
RepInfo info)
Check if the digital object conforms to this Module's internal signature
information.
|
void |
GifModule.checkSignatures(File file,
InputStream stream,
RepInfo info)
Check if the digital object conforms to this Module's
internal signature information.
|
void |
AsciiModule.checkSignatures(File file,
InputStream stream,
RepInfo info)
Check if the digital object conforms to this Module's internal signature
information.
|
void |
BytestreamModule.checkSignatures(File file,
InputStream stream,
RepInfo info)
Check signature.
|
protected void |
TiffModule.checkValidity(List<IFD> ifds,
RepInfo info)
Go through all the IFD's, calling checkIFDValidity on each one that is a
standard IFD.
|
protected void |
TiffModule.checkValidity(TiffIFD ifd,
RepInfo info)
Check the validity of the IFD.
|
protected boolean |
PdfModule.doOutlineStuff(RepInfo info) |
protected void |
WaveModule.dupChunkError(RepInfo info,
String chunkName) |
protected void |
AiffModule.dupChunkError(RepInfo info,
String chunkName) |
List<IFD> |
TiffModule.exifParse(RandomAccessFile raf,
RepInfo info)
Special-purpose, limited parser for embedded Exif files.
|
protected void |
PdfModule.findExternalStreams(RepInfo info) |
protected boolean |
PdfModule.findFilters(RepInfo info)
Locates the filters in the content stream dictionaries
and generate a list of unique pipelines.
|
protected void |
PdfModule.findFonts(RepInfo info) |
protected void |
PdfModule.findImages(RepInfo info) |
protected boolean |
PdfModule.findLastTrailer(RepInfo info)
Locate the last trailer of the file
|
int |
XmlModule.parse(InputStream stream,
RepInfo info,
int parseIndex)
Parse the content of a purported XML digital object and store the
results in RepInfo.
|
int |
WaveModule.parse(InputStream stream,
RepInfo info,
int parseIndex)
Parses the content of a purported WAVE digital object and stores the
results in RepInfo.
|
int |
WarcModule.parse(InputStream stream,
RepInfo info,
int parseIndex) |
int |
Utf8Module.parse(InputStream stream,
RepInfo info,
int parseIndex)
Parse the content of a stream digital object and store the results in
RepInfo.
|
int |
JpegModule.parse(InputStream stream,
RepInfo info,
int parseIndex)
Parse the content of a purported JPEG stream digital object and store the
results in RepInfo.
|
int |
HtmlModule.parse(InputStream stream,
RepInfo info,
int parseIndex)
Parse the content of a purported HTML stream digital object and store the
results in RepInfo.
|
int |
GzipModule.parse(InputStream stream,
RepInfo info,
int parseIndex) |
int |
GifModule.parse(InputStream stream,
RepInfo info,
int parseIndex)
Parse the content of a purported GIF stream digital object and store the
results in RepInfo.
|
int |
AsciiModule.parse(InputStream stream,
RepInfo info,
int parseIndex)
Parse the content of a stream digital object and store the results in
RepInfo.
|
int |
AiffModule.parse(InputStream stream,
RepInfo info,
int parseIndex)
Parses the content of a purported AIFF digital object and stores the
results in RepInfo.
|
int |
BytestreamModule.parse(InputStream stream,
RepInfo info,
int parseIndex)
Parse the content of a stream digital object and store the
results in RepInfo.
|
void |
WarcModule.parse(RandomAccessFile file,
RepInfo info) |
void |
TiffModule.parse(RandomAccessFile raf,
RepInfo info)
Parse the TIFF for well-formedness and validity, accumulating
representation information.
|
void |
PdfModule.parse(RandomAccessFile raf,
RepInfo info)
Parses a file and stores descriptive information.
|
void |
Jpeg2000Module.parse(RandomAccessFile raf,
RepInfo info)
Parse the content of a stream digital object and store the results in
RepInfo.
|
void |
GzipModule.parse(RandomAccessFile file,
RepInfo info) |
protected boolean |
PdfModule.parseHeader(RepInfo info) |
protected IFD |
TiffModule.parseIFDChain(long next,
RepInfo info,
int type,
List<IFD> list,
boolean suppressErrors) |
protected List<IFD> |
TiffModule.parseIFDs(long offset,
RepInfo info)
Parse all IFDs in the file, accumulating representation information.
|
protected List<IFD> |
TiffModule.parseIFDs(long offset,
RepInfo info,
boolean suppressErrors,
int ifdType)
Parse all IFDs in the file, accumulating representation information.
|
protected boolean |
PdfModule.parseTrailer(RepInfo info,
boolean prevOnly) |
protected void |
JpegModule.readAPP0(RepInfo info) |
protected void |
JpegModule.readAPP1(RepInfo info) |
protected void |
JpegModule.readAPP8(RepInfo info) |
protected boolean |
GifModule.readAppExtension(RepInfo info) |
protected boolean |
GifModule.readBlock(RepInfo info) |
protected boolean |
Jpeg2000Module.readBoxes(RepInfo info) |
protected boolean |
WaveModule.readChunk(RepInfo info)
Reads a WAVE Chunk.
|
protected boolean |
AiffModule.readChunk(RepInfo info)
Reads an AIFF Chunk.
|
protected void |
JpegModule.readComment(RepInfo info) |
protected boolean |
GifModule.readCommentExtension(RepInfo info) |
protected void |
JpegModule.readDAC(RepInfo info) |
protected void |
JpegModule.readDHP(RepInfo info) |
protected boolean |
PdfModule.readDocCatalogDict(RepInfo info) |
protected boolean |
PdfModule.readDocInfoDict(RepInfo info) |
protected boolean |
PdfModule.readDocumentTree(RepInfo info) |
protected void |
JpegModule.readDQT(RepInfo info) |
protected void |
JpegModule.readDRI(RepInfo info) |
protected void |
JpegModule.readDTI(RepInfo info) |
protected void |
JpegModule.readDTT(RepInfo info) |
protected boolean |
PdfModule.readEncryptDict(RepInfo info) |
protected void |
JpegModule.readEXP(RepInfo info) |
protected boolean |
GifModule.readExtBlock(RepInfo info) |
protected boolean |
AiffModule.readFileType(RepInfo info)
Reads the file type.
|
protected boolean |
Jpeg2000Module.readFileTypeBox(RepInfo info) |
protected boolean |
GifModule.readGraphicsCtlBlock(RepInfo info) |
protected boolean |
JpegModule.readHeader(RepInfo info) |
protected boolean |
GifModule.readImage(RepInfo info) |
protected void |
JpegModule.readJPEGExtension(int dbyt,
RepInfo info) |
protected boolean |
GifModule.readLSD(RepInfo info) |
protected boolean |
PdfModule.readPageLabelTree(RepInfo info) |
protected boolean |
GifModule.readPlainTextExtension(RepInfo info) |
protected boolean |
GifModule.readSig(RepInfo info) |
protected void |
JpegModule.readSOF(int dbyt,
RepInfo info) |
protected void |
JpegModule.readSRS(RepInfo info) |
protected void |
JpegModule.readVer(RepInfo info) |
protected boolean |
PdfModule.readXMPData(RepInfo info) |
protected boolean |
PdfModule.readXRefInfo(RepInfo info) |
protected boolean |
PdfModule.readXRefStreams(RepInfo info) |
protected boolean |
PdfModule.readXRefTables(RepInfo info) |
protected void |
JpegModule.reportAppExt(int dbyt,
RepInfo info) |
protected void |
TiffModule.reportInvalid(String s,
RepInfo info)
Report an instance of invalidity.
|
protected boolean |
Jpeg2000Module.skipOverBox(BoxHeader hdr,
RepInfo info,
DataInputStream dstrm) |
protected boolean |
JpegModule.skipSegment(RepInfo info) |
Modifier and Type | Method and Description |
---|---|
boolean |
TextChunk.readChunk(RepInfo info)
Reads a chunk and puts appropriate information into
the RepInfo object.
|
boolean |
SoundDataChunk.readChunk(RepInfo info)
Reads a chunk and puts a SoundData property into
the RepInfo object.
|
boolean |
SaxelChunk.readChunk(RepInfo info)
Reads a chunk and puts a "Saxels" property into
the RepInfo object.
|
boolean |
MidiChunk.readChunk(RepInfo info)
Reads a chunk and puts an MIDI property into
the RepInfo object.
|
boolean |
MarkerChunk.readChunk(RepInfo info)
Reads a chunk and puts a Markers property into
the RepInfo object.
|
boolean |
InstrumentChunk.readChunk(RepInfo info)
Reads a chunk and puts an Instrument property into
the RepInfo object.
|
boolean |
FormatVersionChunk.readChunk(RepInfo info)
Reads a chunk and puts a FormatVersion property into
the RepInfo object.
|
boolean |
CommonChunk.readChunk(RepInfo info)
Reads a chunk and puts various properties into
the RepInfo object.
|
boolean |
CommentsChunk.readChunk(RepInfo info)
Reads a chunk and puts a Comments property into
the RepInfo object.
|
boolean |
AudioRecChunk.readChunk(RepInfo info)
Reads a chunk and puts an AudioRecording property into
the RepInfo object.
|
boolean |
ApplicationChunk.readChunk(RepInfo info)
Reads a chunk and puts an Application property into
the RepInfo object.
|
boolean |
AnnotationChunk.readChunk(RepInfo info)
Reads a chunk and adds an Annotation property to the
module's list of annotations.
|
Modifier and Type | Method and Description |
---|---|
void |
JHErrorElement.reportError(RepInfo info)
Puts the item's error message into the RepInfo
object, and affects the wellFormed and valid
flags as required.
|
boolean |
HtmlDocDesc.validate(List elements,
RepInfo info)
Validates the document and puts interesting properties into the
RepInfo.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
Chunk.readChunk(RepInfo info)
Reads a chunk and puts appropriate information into
the RepInfo object.
|
Constructor and Description |
---|
ChunkHeader(ModuleBase module,
RepInfo info)
Constructor.
|
Superchunk(ModuleBase module,
ChunkHeader hdr,
DataInputStream dstrm,
RepInfo info)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
RepInfo |
JpegExif.readExifData(DataInputStream dstream,
JhoveBase je,
int length)
Reads the Exif data from the current point at the data stream,
puts it into a temporary file, and makes a RepInfo object
available.
|
Modifier and Type | Field and Description |
---|---|
protected RepInfo |
MarkerSegment._repInfo |
protected RepInfo |
BoxHolder._repInfo |
Modifier and Type | Method and Description |
---|---|
boolean |
ContCodestream.readCodestream(Codestream cs,
RepInfo info)
Reading a codestream generates various bits of information about
the image.
|
void |
MarkerSegment.setRepInfo(RepInfo repInfo)
Sets the RepInfo into which messages may be placed.
|
void |
JP2Box.setRepInfo(RepInfo info)
Assigns a RepInfo object, so that subclasses of
JP2Box can add Properties and Messages.
|
Constructor and Description |
---|
TopLevelBoxHolder(Jpeg2000Module module,
RandomAccessFile raf,
RepInfo info,
DataInputStream dstream) |
Modifier and Type | Method and Description |
---|---|
void |
PdfMalformedException.disparage(RepInfo info)
Performs the appropriate disparagement act on a RepInfo
object.
|
void |
PdfInvalidException.disparage(RepInfo info)
Performs the appropriate disparagement act on a RepInfo
object.
|
abstract void |
PdfException.disparage(RepInfo info)
Performs the appropriate disparagement act on a RepInfo
object, such as setting the valid or well-formed
flag to
false . |
Modifier and Type | Field and Description |
---|---|
protected RepInfo |
IFD._info
Representation information.
|
Constructor and Description |
---|
ExifIFD(long offset,
RepInfo info,
RandomAccessFile raf,
boolean bigEndian)
Instantiate an
ExifIFD object. |
GlobalParametersIFD(long offset,
RepInfo info,
RandomAccessFile raf,
boolean bigEndian)
Instantiate a
GlobalParametersIFD object. |
GPSInfoIFD(long offset,
RepInfo info,
RandomAccessFile raf,
boolean bigEndian)
Instantiate an
GPSInfoIFD object. |
IFD(long offset,
RepInfo info,
RandomAccessFile raf,
boolean bigEndian)
Instantiate an
IFD object. |
InteroperabilityIFD(long offset,
RepInfo info,
RandomAccessFile raf,
boolean bigEndian)
Instantiate an
InteroperabilityIFD object. |
TiffIFD(long offset,
RepInfo info,
RandomAccessFile raf,
boolean bigEndian)
Instantiate an
TiffIFD object. |
Modifier and Type | Method and Description |
---|---|
boolean |
ListInfoChunk.readAdtlChunk(RepInfo info)
Reads the chunk and its nested chunks, and puts appropriate
properties into the RepInfo object.
|
boolean |
SampleChunk.readChunk(RepInfo info)
Reads a chunk and puts a Sample property into
the RepInfo object.
|
boolean |
PeakEnvelopeChunk.readChunk(RepInfo info)
Reads a chunk and puts a BroadcastAudioExtension Property into
the RepInfo object.
|
boolean |
NoteChunk.readChunk(RepInfo info)
Reads a chunk and adds to the module's list of Notes.
|
boolean |
MpegChunk.readChunk(RepInfo info)
Reads a chunk and puts an MPEG Property into
the RepInfo object.
|
boolean |
ListInfoTextChunk.readChunk(RepInfo info)
Reads a chunk and.....
|
boolean |
ListInfoChunk.readChunk(RepInfo info)
Reads a chunk and puts appropriate information into
the RepInfo object.
|
boolean |
LinkChunk.readChunk(RepInfo info)
Reads a chunk and puts a BroadcastAudioExtension Property into
the RepInfo object.
|
boolean |
LabeledTextChunk.readChunk(RepInfo info)
Reads a chunk and puts an MPEG Property into
the RepInfo object.
|
boolean |
LabelChunk.readChunk(RepInfo info)
Reads a chunk and adds to the module's list of labels.
|
boolean |
InstrumentChunk.readChunk(RepInfo info)
Reads a chunk and puts an Instrument property into
the RepInfo object.
|
boolean |
FormatChunk.readChunk(RepInfo info)
Reads a chunk and puts appropriate Properties into
the RepInfo object.
|
boolean |
FactChunk.readChunk(RepInfo info)
Reads a chunk and puts a Fact Property into
the RepInfo object.
|
boolean |
ExifVersionChunk.readChunk(RepInfo info)
Reads a chunk and puts information into the superchunk's
Exif property.
|
boolean |
ExifUserCommentChunk.readChunk(RepInfo info)
Reads a chunk and puts information into the superchunk's
Exif property.
|
boolean |
ExifStringChunk.readChunk(RepInfo info)
Reads a chunk and puts information into the superchunk's
Exif property.
|
boolean |
ExifMakerNoteChunk.readChunk(RepInfo info)
Reads a chunk and puts information into the superchunk's
Exif property.
|
boolean |
DataChunk.readChunk(RepInfo info)
Reads a chunk and puts a Data property into
the RepInfo object.
|
boolean |
CueChunk.readChunk(RepInfo info)
Reads a chunk and puts a Cue property into
the RepInfo object.
|
boolean |
CartChunk.readChunk(RepInfo info)
Reads a chunk and puts a Cart Property into
the RepInfo object.
|
boolean |
BroadcastExtChunk.readChunk(RepInfo info)
Reads a chunk and puts a BroadcastAudioExtension Property into
the RepInfo object.
|
boolean |
AssocDataListChunk.readChunk(RepInfo info)
Reads the chunk and its nested chunks, and puts appropriate
properties into the RepInfo object.
|
boolean |
AXMLChunk.readChunk(RepInfo info)
Reads a chunk and puts a BroadcastAudioExtension Property into
the RepInfo object.
|
Constructor and Description |
---|
AssocDataListChunk(ModuleBase module,
ChunkHeader hdr,
DataInputStream dstrm,
RepInfo info)
Constructor.
|
ListInfoChunk(ModuleBase module,
ChunkHeader hdr,
DataInputStream dstrm,
RepInfo info)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
ViewWindow.addRepInfo(RepInfo info,
App app,
JhoveBase base)
Appends the representation of a RepInfo object to the
tree.
|
void |
ViewHandler.show(RepInfo info)
Outputs the information contained in a RepInfo object.
|
Constructor and Description |
---|
RepTreeRoot(RepInfo info,
App app,
JhoveBase base)
Constructor.
|
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.