incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r933464 - /incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/WorkerThread.java
Date Tue, 13 Apr 2010 02:14:45 GMT
Author: kwright
Date: Tue Apr 13 02:14:44 2010
New Revision: 933464

URL: http://svn.apache.org/viewvc?rev=933464&view=rev
Log:
Fix a build error introduced this morning.

Modified:
    incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/WorkerThread.java

Modified: incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/WorkerThread.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/WorkerThread.java?rev=933464&r1=933463&r2=933464&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/WorkerThread.java
(original)
+++ incubator/lcf/trunk/modules/framework/pull-agent/org/apache/lcf/crawler/system/WorkerThread.java
Tue Apr 13 02:14:44 2010
@@ -1164,6 +1164,16 @@ public class WorkerThread extends Thread
       return ingester.checkMimeTypeIndexable(job.getOutputConnectionName(),mimeType);
     }
 
+    /** Check whether a document is indexable by the currently specified output connector.
+    *@param localFile is the local copy of the file to check.
+    *@return true if the document is indexable.
+    */
+    public boolean checkDocumentIndexable(File localFile)
+      throws LCFException, ServiceInterruption
+    {
+      return ingester.checkDocumentIndexable(job.getOutputConnectionName(),localFile);
+    }
+
     /** Record time-stamped information about the activity of the connector.
     *@param startTime is either null or the time since the start of epoch in milliseconds
(Jan 1, 1970).  Every
     *       activity has an associated time; the startTime field records when the activity
began.  A null value



Mime
View raw message