OSDN Git Service

プラットフォームごとのStigmataのホームディレクトリの場所を返す一連のクラスをリファクタリングした.
[stigmata/stigmata.git] / src / main / java / jp / sourceforge / stigmata / birthmarks / extractors / AbstractBirthmarkExtractorService.java
index 95fd59c..f337fca 100644 (file)
@@ -20,15 +20,17 @@ import jp.sourceforge.stigmata.utils.LocalizedDescriptionManager;
  * @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
@@ -38,15 +40,18 @@ abstract class AbstractBirthmarkExtractorService extends AbstractServiceProvider
     /**
      * 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());