noExtractorPatternsMatched
boolean scrapeableFile.noExtractorPatternsMatched ( )
Description
Determine whether any extractor patterns associated with the scrapeable file found a match.
Parameters
This method does not receive any parameters.
Return Values
Returns boolean corresponding to whether any extractor pattern matched in the scrapeable file.
Change Log
Version |
Description |
4.5 |
Available for all editions. |
Examples
Warning if no Extractor Patterns matched
// If no patterns matched, outputs a message indicating such
// to the session log.
if( scrapeableFile.noExtractorPatternsMatched() )
{
session.log( "Warning! No extractor patterns matched." );
}