public static interface DigestingParser.Digester
|Modifier and Type||Method and Description|
Digests an InputStream and sets the appropriate value(s) in the metadata.
void digest(InputStream is, Metadata m, ParseContext parseContext) throws IOException
The given stream is guaranteed to support the
mark feature and the detector
is expected to
mark the stream before
reading any bytes from it, and to
the stream before returning. The stream must not be closed by the
is- InputStream to digest
m- Metadata to set the values for
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.