/**
* 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.comparator
/**
* returns a localized description of the birthmark in default locale.
*/
+ @Override
public String getDescription(){
return getDescription(Locale.getDefault());
}
+ @Override
public abstract String getComparatorClassName();
/**
* returns a extractor for the birthmark of this service.
*/
+ @Override
public BirthmarkComparator getComparator(BirthmarkSpi service){
try{
Class<?> c = Class.forName(getComparatorClassName());