OSDN Git Service

BirthmarkSpi -> BirthmarkService
[stigmata/stigmata.git] / src / main / java / jp / sourceforge / stigmata / spi / BirthmarkExtractorService.java
1 package jp.sourceforge.stigmata.spi;
2
3 import jp.sourceforge.stigmata.BirthmarkExtractor;
4
5 /**
6  * Service provider interface for extracting birhtmark from given class files.
7  *
8  * @author Haruaki TAMADA
9  */
10 public interface BirthmarkExtractorService{
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 BirthmarkExtractor getExtractor(BirthmarkService service);
25 }
26