Regain 2.1.0-STABLE API

net.sf.regain.crawler.document
Class PreparatorProfilerPair

java.lang.Object
  extended by net.sf.regain.crawler.document.PreparatorProfilerPair
All Implemented Interfaces:
Comparable<PreparatorProfilerPair>

public class PreparatorProfilerPair
extends Object
implements Comparable<PreparatorProfilerPair>

Allow ordering by priority of Preparator. (Higher values first.)

Author:
Benjamin

Field Summary
private  Preparator preparator
           
private  Profiler profiler
           
 
Constructor Summary
PreparatorProfilerPair(Preparator preparator, Profiler profiler)
           
 
Method Summary
 int compareTo(PreparatorProfilerPair other)
           
 Preparator getPreparator()
           
 Profiler getProfiler()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

preparator

private Preparator preparator

profiler

private Profiler profiler
Constructor Detail

PreparatorProfilerPair

public PreparatorProfilerPair(Preparator preparator,
                              Profiler profiler)
Method Detail

getPreparator

public Preparator getPreparator()

getProfiler

public Profiler getProfiler()

compareTo

public int compareTo(PreparatorProfilerPair other)
Specified by:
compareTo in interface Comparable<PreparatorProfilerPair>

Regain 2.1.0-STABLE API

Regain 2.1.0-STABLE, Copyright (C) 2004-2010 Til Schneider, www.murfman.de, Thomas Tesche, www.clustersystems.info