Return-Path: Delivered-To: apmail-incubator-connectors-commits-archive@minotaur.apache.org Received: (qmail 6663 invoked from network); 13 Apr 2010 02:15:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Apr 2010 02:15:08 -0000 Received: (qmail 11370 invoked by uid 500); 13 Apr 2010 02:15:08 -0000 Delivered-To: apmail-incubator-connectors-commits-archive@incubator.apache.org Received: (qmail 11327 invoked by uid 500); 13 Apr 2010 02:15:08 -0000 Mailing-List: contact connectors-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: connectors-dev@incubator.apache.org Delivered-To: mailing list connectors-commits@incubator.apache.org Received: (qmail 11320 invoked by uid 99); 13 Apr 2010 02:15:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 02:15:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 02:15:06 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 33BAA2388994; Tue, 13 Apr 2010 02:14:45 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: connectors-commits@incubator.apache.org From: kwright@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100413021445.33BAA2388994@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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