OSDN Git Service

Spiという名前をすべてServiceに変更した.
[stigmata/stigmata.git] / src / main / java / jp / sourceforge / stigmata / spi / BirthmarkComparatorService.java
1 package jp.sourceforge.stigmata.spi;
2
3 import jp.sourceforge.stigmata.BirthmarkComparator;
4
5 /**
6  * Service provider interface for comparing birthmarks.
7  *
8  * @author Haruaki TAMADA
9  */
10 public interface BirthmarkComparatorService{
11     /**
12      * returns a type of the birthmark this service provides.
13      */
14     public String getType();
15
16     /**
17      * returns a localized description of the birthmark in default locale.
18      */
19     public String getDescription();
20
21     /**
22      * returns a extractor for the birthmark of this service.
23      */
24     public BirthmarkComparator getComparator(BirthmarkService service);
25 }
26