Package com.norconex.crawler.fs.fetch
Interface FileFetchResponse
- All Superinterfaces:
FetchResponse
- All Known Implementing Classes:
AggregatedFileFetchResponse,GenericFileFetchResponse
-
Method Summary
Methods inherited from interface com.norconex.crawler.core.fetch.FetchResponse
getException, getProcessingOutcome, getReasonPhrase, getStatusCode
-
Method Details
-
isFile
boolean isFile()Whether the fetched path is a file. Note that on some file systems, it is be possible for a path to represent both a file and folder (a parent file having child files).- Returns:
trueif a file
-
isFolder
boolean isFolder()Whether the fetched path a folder. Note that on some file systems, it is be possible for a path to represent both a file and folder (a parent file having child files).- Returns:
trueif a folder
-