public class MultiLabeler extends java.lang.Object implements CrawlableDatasetLabeler
Constructor and Description |
---|
MultiLabeler(java.util.List<CrawlableDatasetLabeler> labelerList) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getConfigObject()
Return the configuration object.
|
java.lang.String |
getLabel(CrawlableDataset dataset)
Return a label for the given dataset or null if this CrawlableDatasetLabeler
does not know how to label the given dataset.
|
java.util.List<CrawlableDatasetLabeler> |
getLabelerList() |
public MultiLabeler(java.util.List<CrawlableDatasetLabeler> labelerList)
public java.lang.Object getConfigObject()
CrawlableDatasetLabeler
getConfigObject
in interface CrawlableDatasetLabeler
public java.util.List<CrawlableDatasetLabeler> getLabelerList()
public java.lang.String getLabel(CrawlableDataset dataset)
CrawlableDatasetLabeler
getLabel
in interface CrawlableDatasetLabeler
dataset
- the CrawlableDataset to be labeled.