1 package jp.sourceforge.stigmata.spi;
3 import java.util.Locale;
5 import jp.sourceforge.stigmata.BirthmarkExtractor;
8 * Service provider interface for extracting birhtmark from given class files.
10 * @author Haruaki TAMADA
12 public interface BirthmarkExtractorSpi extends ServiceProvider{
14 * returns a type of the birthmark this service provides.
16 public String getType();
19 * returns a localized description of the birthmark this service provides.
22 public String getDescription(Locale locale);
25 * returns a localized description of the birthmark in default locale.
28 public String getDescription();
30 public String getExtractorClassName();
33 * returns a extractor for the birthmark of this service.
35 public BirthmarkExtractor getExtractor(BirthmarkSpi service);