Package com.norconex.collector.fs.option
Interface IFilesystemOptionsProvider
- All Known Implementing Classes:
GenericFilesystemOptionsProvider
public interface IFilesystemOptionsProvider
Provides Apache Commons VFS
FileSystemOptions for a given
FileObject. When possible, try to reuse options.
Implementors also implementing IXMLConfigurable must name their XML
tag optionsProvider to ensure it gets loaded properly.- Since:
- 2.7.0
- Author:
- Pascal Essiembre
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.vfs2.FileSystemOptionsgetFilesystemOptions(org.apache.commons.vfs2.FileObject fileObject) Provide file system options associated with a file object.
-
Method Details
-
getFilesystemOptions
org.apache.commons.vfs2.FileSystemOptions getFilesystemOptions(org.apache.commons.vfs2.FileObject fileObject) Provide file system options associated with a file object.- Parameters:
fileObject- the file for which to get options- Returns:
- options
-