* @author Haruaki TAMADA
* @version $Revision$
*/
-abstract class AbstractBirthmarkExtractorService extends AbstractServiceProvider implements BirthmarkExtractorSpi{
+public abstract class AbstractBirthmarkExtractorService extends AbstractServiceProvider implements BirthmarkExtractorSpi{
/**
* returns a type of the birthmark this service provides.
*/
+ @Override
public abstract String getType();
/**
* returns a localized description of the birthmark this service provides.
*/
+ @Override
public String getDescription(Locale locale){
return LocalizedDescriptionManager.getInstance().getDescription(
locale, getType(), LocalizedDescriptionManager.ServiceCategory.extractor
/**
* returns a localized description of the birthmark in default locale.
*/
+ @Override
public String getDescription(){
return getDescription(Locale.getDefault());
}
+ @Override
public abstract String getExtractorClassName();
/**
* returns a extractor for the birthmark of this service.
*/
+ @Override
public BirthmarkExtractor getExtractor(BirthmarkSpi service){
try{
Class<?> c = Class.forName(getExtractorClassName());