Class FileSystemFetcherConfig

java.lang.Object
org.apache.tika.pipes.fetcher.config.AbstractConfig
org.apache.tika.pipes.fetcher.fs.config.FileSystemFetcherConfig

public class FileSystemFetcherConfig extends AbstractConfig
  • Constructor Details

    • FileSystemFetcherConfig

      public FileSystemFetcherConfig()
  • Method Details

    • getBasePath

      public String getBasePath()
    • setBasePath

      public FileSystemFetcherConfig setBasePath(String basePath)
    • isExtractFileSystemMetadata

      public boolean isExtractFileSystemMetadata()
    • setExtractFileSystemMetadata

      public FileSystemFetcherConfig setExtractFileSystemMetadata(boolean extractFileSystemMetadata)
    • isAllowAbsolutePaths

      public boolean isAllowAbsolutePaths()
      If true, allows fetchKey to be an absolute path when basePath is not set. This explicitly acknowledges the security risk of unrestricted file access. The default is false.
    • setAllowAbsolutePaths

      public FileSystemFetcherConfig setAllowAbsolutePaths(boolean allowAbsolutePaths)