Interface PasswordProvider
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
SimplePasswordProvider
Interface for providing a password to a Parser for handling Encrypted
and Password Protected Documents.
An implementation of this should be set on the
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
ParseContext
supplied to
invalid reference
Parser#parse(java.io.InputStream, org.xml.sax.ContentHandler, Metadata, ParseContext)
getPassword(Metadata) method.- Since:
- Apache Tika 1.1
-
Method Summary
Modifier and TypeMethodDescriptiongetPassword(Metadata metadata) Looks up the password for a document with the given metadata, and returns it for the Parser.
-
Method Details
-
getPassword
-