public BoilerpipeContentExtractor(Class<? extends ExtractorBase> extractorClass) {
_extractorClass = extractorClass;
}
private BoilerpipeExtractor initExtractor(Class<? extends ExtractorBase> extractorClass) {
BoilerpipeExtractor extractor = null;
try {
extractor = (BoilerpipeExtractor) extractorClass.newInstance();
} catch (Exception e) {
throw new RuntimeException (e.getMessage());
}