Class AccessChecker

  • All Implemented Interfaces:

    public class AccessChecker
    extends Object
    implements Serializable
    Checks whether or not a document allows extraction generally or extraction for accessibility only.
    See Also:
    Serialized Form
    • Constructor Detail

      • AccessChecker

        public AccessChecker()
        This constructs an AccessChecker that will not perform any checking and will always return without throwing an exception.

        This constructor is available to allow for Tika's legacy (<= v1.7) behavior.

      • AccessChecker

        public AccessChecker​(boolean allowExtractionForAccessibility)
        This constructs an AccessChecker that will check for whether or not content should be extracted from a document.
        allowExtractionForAccessibility - if general extraction is not allowed, is extraction for accessibility allowed