Package org.apache.tika.parser.digest
Class CompositeDigester
java.lang.Object
org.apache.tika.parser.digest.CompositeDigester
- All Implemented Interfaces:
DigestingParser.Digester
- Direct Known Subclasses:
BouncyCastleDigester,CommonsDigester
@Deprecated(since="2026-04-30")
public class CompositeDigester
extends Object
implements DigestingParser.Digester
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddigest(InputStream is, Metadata m, ParseContext parseContext) Deprecated.Digests an InputStream and sets the appropriate value(s) in the metadata.
-
Constructor Details
-
CompositeDigester
Deprecated.
-
-
Method Details
-
digest
Deprecated.Description copied from interface:DigestingParser.DigesterDigests an InputStream and sets the appropriate value(s) in the metadata. The Digester is also responsible for marking and resetting the stream.The given stream is guaranteed to support the
mark featureand the detector is expected tomarkthe stream before reading any bytes from it, and toresetthe stream before returning. The stream must not be closed by the detector.- Specified by:
digestin interfaceDigestingParser.Digester- Parameters:
is- InputStream to digestm- Metadata to set the values forparseContext- ParseContext- Throws:
IOException
-