Show Analyser.java syntax highlighted
package net.time4tea.webstats.analyser;
import net.time4tea.webstats.analyser.extractor.key.KeyFinder;
import net.time4tea.webstats.analyser.extractor.value.BytesValueFinder;
import net.time4tea.webstats.analyser.extractor.value.ValueFinder;
import net.time4tea.webstats.filter.bool.TrueFilter;
import net.time4tea.webstats.record.Record;
import net.time4tea.webstats.statistic.repo.StatisticMapRepository;
import org.hamcrest.Matcher;
/**
* Originally richja Jan 4, 2006
*/
public class Analyser<T extends Record> extends AbstractAnalyser<T> {
public Analyser(String name, Matcher<T> filter, StatisticMapRepository statisticMapRepository, KeyFinder<T> keyFinder, ValueFinder valueFinder) {
super(name, filter, statisticMapRepository, keyFinder, valueFinder);
}
public Analyser(String name, Matcher<T> filter, StatisticMapRepository statisticMapRepository, KeyFinder<T> keyFinder) {
this(name, filter, statisticMapRepository, keyFinder, new BytesValueFinder());
}
public Analyser(String name, StatisticMapRepository statisticMapRepository, KeyFinder<T> keyFinder) {
this(name, new TrueFilter<T>(), statisticMapRepository, keyFinder, new BytesValueFinder());
}
public Analyser(String name, StatisticMapRepository repository, KeyFinder<T> keyFinder, ValueFinder valueFinder) {
this(name, new TrueFilter<T>(), repository, keyFinder, valueFinder);
}
}
See more files for this project here