jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r671515 - in /jackrabbit/trunk/jackrabbit-text-extractors/src/main/java/org/apache/jackrabbit/extractor: MsExcelTextExtractor.java MsPowerPointTextExtractor.java
Date Wed, 25 Jun 2008 11:41:14 GMT
Author: jukka
Date: Wed Jun 25 04:41:14 2008
New Revision: 671515

URL: http://svn.apache.org/viewvc?rev=671515&view=rev
Log:
JCR-1661: Extend mimetype list of text extractors
   - Patch by Markus K.

Modified:
    jackrabbit/trunk/jackrabbit-text-extractors/src/main/java/org/apache/jackrabbit/extractor/MsExcelTextExtractor.java
    jackrabbit/trunk/jackrabbit-text-extractors/src/main/java/org/apache/jackrabbit/extractor/MsPowerPointTextExtractor.java

Modified: jackrabbit/trunk/jackrabbit-text-extractors/src/main/java/org/apache/jackrabbit/extractor/MsExcelTextExtractor.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-text-extractors/src/main/java/org/apache/jackrabbit/extractor/MsExcelTextExtractor.java?rev=671515&r1=671514&r2=671515&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-text-extractors/src/main/java/org/apache/jackrabbit/extractor/MsExcelTextExtractor.java
(original)
+++ jackrabbit/trunk/jackrabbit-text-extractors/src/main/java/org/apache/jackrabbit/extractor/MsExcelTextExtractor.java
Wed Jun 25 04:41:14 2008
@@ -48,7 +48,11 @@
      * Creates a new <code>MsExcelTextExtractor</code> instance.
      */
     public MsExcelTextExtractor() {
-        super(new String[]{"application/vnd.ms-excel", "application/msexcel"});
+        super(new String[] {
+                "application/vnd.ms-excel",
+                "application/msexcel",
+                "application/excel"
+        });
     }
 
     //-------------------------------------------------------< TextExtractor >

Modified: jackrabbit/trunk/jackrabbit-text-extractors/src/main/java/org/apache/jackrabbit/extractor/MsPowerPointTextExtractor.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-text-extractors/src/main/java/org/apache/jackrabbit/extractor/MsPowerPointTextExtractor.java?rev=671515&r1=671514&r2=671515&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-text-extractors/src/main/java/org/apache/jackrabbit/extractor/MsPowerPointTextExtractor.java
(original)
+++ jackrabbit/trunk/jackrabbit-text-extractors/src/main/java/org/apache/jackrabbit/extractor/MsPowerPointTextExtractor.java
Wed Jun 25 04:41:14 2008
@@ -48,8 +48,11 @@
      * Creates a new <code>MsPowerPointTextExtractor</code> instance.
      */
     public MsPowerPointTextExtractor() {
-        super(new String[]{"application/vnd.ms-powerpoint",
-                           "application/mspowerpoint"});
+        super(new String[]{
+                "application/vnd.ms-powerpoint",
+                "application/mspowerpoint",
+                "application/powerpoint"
+        });
     }
 
     //-------------------------------------------------------< TextExtractor >



Mime
View raw message