Class GenericFileMetadataFetcher
java.lang.Object
com.norconex.collector.fs.fetch.impl.GenericFileMetadataFetcher
- All Implemented Interfaces:
IFileMetadataFetcher
Generic file system document metadata fetcher.
- Since:
- 2.7.0
- Author:
- Pascal Essiembre
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfetchMetadada(org.apache.commons.vfs2.FileObject fileObject, Properties metadata) Fetches the document metadata for a path and stores it in the providedProperties.inthashCode()toString()
-
Constructor Details
-
GenericFileMetadataFetcher
public GenericFileMetadataFetcher()
-
-
Method Details
-
fetchMetadada
Description copied from interface:IFileMetadataFetcherFetches the document metadata for a path and stores it in the providedProperties.- Specified by:
fetchMetadadain interfaceIFileMetadataFetcher- Parameters:
fileObject- the file object representing the documentmetadata- recipient for storing metadata- Returns:
- crawl state
-
equals
-
hashCode
public int hashCode() -
toString
-