Article View: borland.public.jbuilder.java.api
Article #1850Help with Boolean.valueOf
From: Alex Colic
Date: Fri, 24 Aug 2001 13:58
Date: Fri, 24 Aug 2001 13:58
12 lines
1133 bytes
1133 bytes
Hi, In one of my functions I get a string back, 'Yes' or 'No'. Then I have to set a boolean property using that String value. I have tried Boolean.valueOf(theString).booleanValue but I always get false returned to me. Is there a simpler way of doing this? Thanks Alex
Technical Details
Message-ID:
<3b865d98$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.he.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,e516bf82fe973e53,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-08-24 07:25:35 PST From: "Alex Colic" <alex.colic@pop-ware.com> Newsgroups: borland.public.jbuilder.java.api Subject: Help with Boolean.valueOf Date: Fri, 24 Aug 2001 09:58:38 -0400 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 24.150.29.218 Message-ID: <3b865d98$1_2@dnews> X-Trace: dnews 998661528 24.150.29.218 (24 Aug 2001 06:58:48 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.he.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews