Class LocalFetcher

All Implemented Interfaces:
Configurable<LocalFetcherConfig>, EventListener<Event>, Fetcher, EventListener, Consumer<Event>

public class LocalFetcher extends AbstractNioFetcher<LocalFetcherConfig>

Fetcher for a local file system, backed by the JDK's default FileSystemProvider. Mounted file systems and mapped drives not requiring special configuration to access can also be considered "local". Paths starting with any of the following will be recognized as local file system:

  • file:///some/directory
  • file:///C:/some/directory
  • /some/directory
  • C:\some\directory
  • C:/some/directory

Access Control List (ACL)

This fetcher will try to extract access control information for each file of a local file system. If you have no need for them, you can disable acquiring them with LocalFetcherConfig.setAclDisabled(boolean).

Archive files as file systems

Archive files (zip, tar, jar, etc.) are no longer handled by this fetcher. Use ArchiveFetcher instead, which supports both local and remote archives and provides credential configuration for inner remote file systems.