void digest(InputStream is, Metadata m, ParseContext parseContext) throws IOExceptionDigests 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 to
markthe stream before reading any bytes from it, and to
resetthe stream before returning. The stream must not be closed by the detector.
is- InputStream to digest
m- Metadata to set the values for