public Extractor getNewInstance ( ) { Extractor extractor = new BasicExtractor ( config ) ; if ( config . shouldCachedDownload ( ) ) { extractor = new CachedExtractor ( extractor , config ) ; } return extractor ; }
Returns an Extractor instance appropriate based on the given configuration .