Return-Path: Delivered-To: apmail-poi-user-archive@www.apache.org Received: (qmail 37259 invoked from network); 22 Mar 2010 16:24:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Mar 2010 16:24:21 -0000 Received: (qmail 94970 invoked by uid 500); 22 Mar 2010 16:24:21 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 94952 invoked by uid 500); 22 Mar 2010 16:24:21 -0000 Mailing-List: contact user-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Users List" Delivered-To: mailing list user@poi.apache.org Received: (qmail 94944 invoked by uid 99); 22 Mar 2010 16:24:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Mar 2010 16:24:21 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Mar 2010 16:24:13 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NtkPw-0005tE-MJ for user@poi.apache.org; Mon, 22 Mar 2010 09:23:52 -0700 Message-ID: <27988814.post@talk.nabble.com> Date: Mon, 22 Mar 2010 09:23:52 -0700 (PDT) From: khan379 To: user@poi.apache.org Subject: Re: reading xls or xlsx file using SS model In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: akhan@i-behavior.com References: <27911945.post@talk.nabble.com> <27988541.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Nick, Thanks for the reply. I dont want to touch the already working HSSF evetn based implementation we have for xls reading. can i implement same low level + low memory event based parsing for xlsx files ? (using XSSF or SS model, doesnt matter). can you direct me to a skeleton implementation of such. Nick Burch-11 wrote: > > On Mon, 22 Mar 2010, khan379 wrote: >> khan379 wrote: >>> we often get xlsx file so i was planning to switch to POI 3.5-FNAL and >>> use >>> SS model to read both xls and xlsx formats. >>> the class i have attached heavily uses >>> org.apache.poi.hssf.eventusermodel >>> and i dont know much how i can convert this file to read xlsx files. > > You'll have to choose. You can either use the common SS interface, which > hides the differences between XLS and XLSX, or you can have the low level > + low memory event based parsing, but have to write two implementations. > > Nick > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@poi.apache.org > For additional commands, e-mail: user-help@poi.apache.org > > > -- View this message in context: http://old.nabble.com/reading-xls-or-xlsx-file-using-SS-model-tp27911945p27988814.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@poi.apache.org For additional commands, e-mail: user-help@poi.apache.org