OSDN Git Service

BirthmarkSpi -> BirthmarkService
[stigmata/stigmata.git] / src / main / java / jp / sourceforge / stigmata / spi / BirthmarkExtractorSpi.java
1 package jp.sourceforge.stigmata.spi;
2
3 import java.util.Locale;
4
5 import jp.sourceforge.stigmata.BirthmarkExtractor;
6
7 /**
8  * Service provider interface for extracting birhtmark from given class files.
9  *
10  * @author Haruaki TAMADA
11  */
12 public interface BirthmarkExtractorSpi extends ServiceProvider{
13     /**
14      * returns a type of the birthmark this service provides.
15      */
16     public String getType();
17
18     /**
19      * returns a localized description of the birthmark this service provides.
20      */
21     @Override
22     public String getDescription(Locale locale);
23
24     /**
25      * returns a localized description of the birthmark in default locale.
26      */
27     @Override
28     public String getDescription();
29
30     public String getExtractorClassName();
31
32     /**
33      * returns a extractor for the birthmark of this service.
34      */
35     public BirthmarkExtractor getExtractor(BirthmarkService service);
36 }
37