public interface PasswordProvider
ParseContext
supplied to Parser.parse(java.io.InputStream, org.xml.sax.ContentHandler, Metadata, ParseContext)
to provide a way to get the document password.
An implementation of this interface defines some specific selection
or lookup criteria, to be applied against the document metadata passed
to the getPassword(Metadata) method.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPassword(Metadata metadata)
Looks up the password for a document with the given metadata,
and returns it for the Parser.
|
java.lang.String getPassword(Metadata metadata)
metadata - document metadatanull if not knownCopyright © 2010 - 2023 Adobe. All Rights Reserved