incubator-any23-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ans...@apache.org
Subject svn commit: r1370644 - /incubator/any23/trunk/core/src/main/java/org/apache/any23/plugin/ExtractorPlugin.java
Date Wed, 08 Aug 2012 02:40:22 GMT
Author: ansell
Date: Wed Aug  8 02:40:21 2012
New Revision: 1370644

URL: http://svn.apache.org/viewvc?rev=1370644&view=rev
Log:
expose the Extractor generics type in ExtractorPlugin

Modified:
    incubator/any23/trunk/core/src/main/java/org/apache/any23/plugin/ExtractorPlugin.java

Modified: incubator/any23/trunk/core/src/main/java/org/apache/any23/plugin/ExtractorPlugin.java
URL: http://svn.apache.org/viewvc/incubator/any23/trunk/core/src/main/java/org/apache/any23/plugin/ExtractorPlugin.java?rev=1370644&r1=1370643&r2=1370644&view=diff
==============================================================================
--- incubator/any23/trunk/core/src/main/java/org/apache/any23/plugin/ExtractorPlugin.java
(original)
+++ incubator/any23/trunk/core/src/main/java/org/apache/any23/plugin/ExtractorPlugin.java
Wed Aug  8 02:40:21 2012
@@ -17,6 +17,7 @@
 
 package org.apache.any23.plugin;
 
+import org.apache.any23.extractor.Extractor;
 import org.apache.any23.extractor.ExtractorFactory;
 
 /**
@@ -25,11 +26,11 @@ import org.apache.any23.extractor.Extrac
  *
  * @author Michele Mostarda (mostarda@fbk.eu)
  */
-public interface ExtractorPlugin {
+public interface ExtractorPlugin<T extends Extractor<?>> {
 
     /**
      * @return the {@link org.apache.any23.extractor.ExtractorFactory} for the plugin.
      */
-    ExtractorFactory getExtractorFactory();
+    ExtractorFactory<T> getExtractorFactory();
 
 }



Mime
View raw message