1 package jp.sourceforge.stigmata.spi;
7 import java.util.Locale;
9 import jp.sourceforge.stigmata.BirthmarkExtractor;
12 * Service provider interface for extracting birhtmark from given class files.
14 * @author Haruaki TAMADA
17 public interface BirthmarkExtractorSpi extends ServiceProvider{
19 * returns a type of the birthmark this service provides.
21 public String getType();
24 * returns a localized description of the birthmark this service provides.
27 public String getDescription(Locale locale);
30 * returns a localized description of the birthmark in default locale.
33 public String getDescription();
35 public String getExtractorClassName();
38 * returns a extractor for the birthmark of this service.
40 public BirthmarkExtractor getExtractor(BirthmarkSpi service);