jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r931504 - in /jackrabbit/trunk: jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/JackrabbitParser.java jackrabbit-parent/pom.xml
Date Wed, 07 Apr 2010 11:20:59 GMT
Author: jukka
Date: Wed Apr  7 11:20:59 2010
New Revision: 931504

URL: http://svn.apache.org/viewvc?rev=931504&view=rev
Log:
JCR-2593: Upgrade to Tika 0.7

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/JackrabbitParser.java
    jackrabbit/trunk/jackrabbit-parent/pom.xml

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/JackrabbitParser.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/JackrabbitParser.java?rev=931504&r1=931503&r2=931504&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/JackrabbitParser.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/JackrabbitParser.java
Wed Apr  7 11:20:59 2010
@@ -20,11 +20,13 @@ import java.io.IOException;
 import java.io.InputStream;
 import java.util.HashMap;
 import java.util.Map;
+import java.util.Set;
 import java.util.StringTokenizer;
 
 import org.apache.tika.config.TikaConfig;
 import org.apache.tika.exception.TikaException;
 import org.apache.tika.metadata.Metadata;
+import org.apache.tika.mime.MediaType;
 import org.apache.tika.parser.AutoDetectParser;
 import org.apache.tika.parser.ParseContext;
 import org.apache.tika.parser.Parser;
@@ -181,6 +183,13 @@ class JackrabbitParser implements Parser
     /**
      * Delegates the call to the configured {@link AutoDetectParser}.
      */
+    public Set<MediaType> getSupportedTypes(ParseContext context) {
+        return parser.getSupportedTypes(context);
+    }
+
+    /**
+     * Delegates the call to the configured {@link AutoDetectParser}.
+     */
     public void parse(
             InputStream stream, ContentHandler handler,
             Metadata metadata, ParseContext context)

Modified: jackrabbit/trunk/jackrabbit-parent/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-parent/pom.xml?rev=931504&r1=931503&r2=931504&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-parent/pom.xml (original)
+++ jackrabbit/trunk/jackrabbit-parent/pom.xml Wed Apr  7 11:20:59 2010
@@ -42,7 +42,7 @@
   <properties>
     <slf4j.version>1.5.8</slf4j.version>
     <jetty.version>6.1.22</jetty.version>
-    <tika.version>0.6</tika.version>
+    <tika.version>0.7</tika.version>
   </properties>
 
   <build>



Mime
View raw message