poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nachiket.deshpa...@tcs.com
Subject Re: Help a newbie
Date Wed, 15 Nov 2006 07:06:11 GMT
Hi , 
        You can check the type of the cell and use appropriate method on 
cell viz. getCellStringValue , getNumericValue etc . The strange thing is 
that you wont be able to predict what type POI will set for that 
perticular Cell . For example if some numeric data is set in string typed 
cell, POI return it as numeric typed cell. 
        Regarding examples, on POI site there is enough documentation.


11/15/2006 12:12 PM
Please respond to
"POI Users List" <poi-user@jakarta.apache.org>

"POI Users List" <poi-user@jakarta.apache.org>

Help a newbie


I want to read an exel file and write the some of the feilds to a text 
.. The problem is that the feilds are mixed up NUMERIC and STRING in the
same row
so i mhaving a problem in printing out the fields you cannot get  String
value from a numeric cell is there anywre i can find comprehensive 
so that i can solve this problem

This email and any file attachments transmitted with it are intended 
for the addressee(s) and may be legally privileged and/or confidential.lf
you have received this email in error please delete it. lf you are not the
addressee you may not disclose , copy, distribute or take action based on
the contents hereof. Any unauthorised use or disclosure is prohibited and
may be unlawful.The views and opinions expressed in this email message may
not necessarily be those of the Directors and Management of Intermarket
Life Assurance  Limited and its subsidiaries. All reasonable precautions
have been taken to ensure no viruses are present in this E-mail.  As
Intermarket Life  Assurance Limited cannot accept responsibility for loss
or damage arising from the use of this E-mail or attachments we recommend
that you subject these to your virus checking procedures prior to use.

Telephone : +263 - 4 - 708801 / 9
Fax       : +263 - 4 - 708894

To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message