Class FileSystemFetcherConfig
java.lang.Object
org.apache.tika.pipes.fetcher.config.AbstractConfig
org.apache.tika.pipes.fetcher.fs.config.FileSystemFetcherConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf true, allows fetchKey to be an absolute path when basePath is not set.booleansetAllowAbsolutePaths(boolean allowAbsolutePaths) setBasePath(String basePath) setExtractFileSystemMetadata(boolean extractFileSystemMetadata)
-
Constructor Details
-
FileSystemFetcherConfig
public FileSystemFetcherConfig()
-
-
Method Details
-
getBasePath
-
setBasePath
-
isExtractFileSystemMetadata
public boolean isExtractFileSystemMetadata() -
setExtractFileSystemMetadata
-
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 isfalse. -
setAllowAbsolutePaths
-