Package org.apache.tika.parser
Interface DigestingParser.Digester
- All Known Implementing Classes:
BouncyCastleDigester,CommonsDigester,CompositeDigester,InputStreamDigester
- Enclosing class:
DigestingParser
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
Interface for digester. See
org.apache.parser.utils.CommonsDigester in tika-parsers for an
implementation.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddigest(InputStream is, Metadata m, ParseContext parseContext) Deprecated.Digests an InputStream and sets the appropriate value(s) in the metadata.
-
Method Details
-
digest
Deprecated.Digests 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.- Parameters:
is- InputStream to digestm- Metadata to set the values forparseContext- ParseContext- Throws:
IOException
-