Class TextHandler
java.lang.Object
edu.harvard.hul.ois.jhove.HandlerBase
edu.harvard.hul.ois.jhove.handler.TextHandler
- All Implemented Interfaces:
OutputHandler
OutputHandler for plain text output.
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.harvard.hul.ois.jhove.HandlerBase
HandlerBase.SynchronizedDateFormat -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidshow()Outputs minimal information about the applicationvoidOutputs detailed information about the application, including configuration, available modules and handlers, etc.voidOutputs information about a Modulevoidshow(OutputHandler handler) Outputs information about the OutputHandler specified in the parametervoidOutputs the information contained in a RepInfo objectvoidDo the final output.voidDo the initial output.protected voidshowNisoImageMetadata(NisoImageMetadata niso, String margin, boolean rawOutput) Display the NISO image metadata formatted according to the MIX schema.Methods inherited from class edu.harvard.hul.ois.jhove.HandlerBase
analyze, applyDefaultParams, close, doctype, doctype, doubleArray, element, element, element, element, elementEnd, elementStart, elementStart, endDirectory, getDate, getEncoding, getIndent, getName, getNote, getRelease, getRights, getSpecification, getVendor, init, integerArray, integerArray, longArray, okToProcess, param, rationalArray, rationalArray10, reset, resetParams, setApp, setBase, setDefaultParams, setEncoding, setWriter, startDirectory, toDateTime, xmlDecl, xmlDecl
-
Constructor Details
-
TextHandler
public TextHandler()Creates a TextHandler.
-
-
Method Details
-
show
public void show()Outputs minimal information about the application- Specified by:
showin interfaceOutputHandler- Specified by:
showin classHandlerBase
-
show
Outputs detailed information about the application, including configuration, available modules and handlers, etc.- Specified by:
showin interfaceOutputHandler- Specified by:
showin classHandlerBase
-
show
Outputs information about the OutputHandler specified in the parameter- Specified by:
showin interfaceOutputHandler- Specified by:
showin classHandlerBase
-
show
Outputs information about a Module- Specified by:
showin interfaceOutputHandler- Specified by:
showin classHandlerBase
-
show
Outputs the information contained in a RepInfo object- Specified by:
showin interfaceOutputHandler- Specified by:
showin classHandlerBase
-
showHeader
public void showHeader()Do the initial output. This should be in a suitable format for including multiple files between the header and the footer.- Specified by:
showHeaderin interfaceOutputHandler- Specified by:
showHeaderin classHandlerBase
-
showNisoImageMetadata
Display the NISO image metadata formatted according to the MIX schema. The schema which is used may be 0.2 or 1.0, depending on the module parameters.- Parameters:
niso- NISO image metadata
-