Configure the Session
You can customize the behavior of your File Content Extraction session by setting additional optional configuration options, using the config()
method of the Session
object, which returns a reference to the active configuration. The following example provides a password for filtering password-protected files:
session.config().password("myPassword");
You can also chain configuration options:
session.config().password("myPassword").hidden_text(true).header_and_footer(true);
The full set of configuration options are documented in The Configuration Class.