public class CompositeDigester extends java.lang.Object implements DigestingParser.Digester
Constructor and Description |
---|
CompositeDigester(DigestingParser.Digester... digesters) |
Modifier and Type | Method and Description |
---|---|
void |
digest(java.io.InputStream is,
Metadata m,
ParseContext parseContext)
Digests an InputStream and sets the appropriate value(s) in the metadata.
|
public CompositeDigester(DigestingParser.Digester... digesters)
public void digest(java.io.InputStream is, Metadata m, ParseContext parseContext) throws java.io.IOException
DigestingParser.Digester
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 reset
the stream before returning. The stream must not be closed by the
detector.
digest
in interface DigestingParser.Digester
is
- InputStream to digestm
- Metadata to set the values forparseContext
- ParseContextjava.io.IOException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"