Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 61582 invoked from network); 2 Mar 2005 22:40:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Mar 2005 22:40:45 -0000 Received: (qmail 56359 invoked by uid 500); 2 Mar 2005 22:40:35 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 56313 invoked by uid 500); 2 Mar 2005 22:40:34 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 56298 invoked by uid 500); 2 Mar 2005 22:40:34 -0000 Delivered-To: apmail-jakarta-lucene-user@jakarta.apache.org Received: (qmail 56288 invoked by uid 99); 2 Mar 2005 22:40:34 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from 87.52.220-216.q9.net (HELO mail.futurebrandexp.com) (216.220.52.87) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 02 Mar 2005 14:40:32 -0800 Received: from p001002 ([204.225.84.27]) by mail.futurebrandexp.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 2 Mar 2005 17:44:28 -0500 Message-ID: <028901c51f79$646965e0$7703d00a@hypermedia.com> From: "Luke Shannon" To: "Lucene Users List" References: <421F8DB6.3030306@jCatalog.com> <023801c51e3a$c38ab0f0$d380a8c0@sirma.int> <4224B153.7080104@apache.org> <200503012024.04519@danielnaber.de> <4224E6DF.5010109@apache.org> Subject: Indexing sit (stuff it) files Date: Wed, 2 Mar 2005 17:44:28 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-OriginalArrivalTime: 02 Mar 2005 22:44:28.0724 (UTC) FILETIME=[647B6740:01C51F79] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello; I've almost completed my zip file indexer. I used the following to get an InputStream for each file in the archive: ZipFile zip = new ZipFile(new File(fileLocation)); ZipEntry zipEntry; Enumeration files = zip.entries(); while (files.hasMoreElements()) { zipEntry = (ZipEntry)files.nextElement(); //I have conditions here based on zipEntry.getName().endsWith(".fileExtension) to determine which Document Handler to use //below is the inputstream I send the handler InputStream in = zip.getInputStream(zipEntry); } So far this is looking ok (not quite done yet). A request came in to index stuffit files. I'm hoping to be able to do something similar as the above, but I haven't found a Java api to work with this file type. Anyone have any experience with this? Thanks, Luke --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org