Hi Srihari,
Using Integer.valueOf("3").intValue() should get you along your way.

Hope that helps,
-Sumit Chandel

On Wed, Jun 17, 2009 at 11:46 PM, Srihari Ch <[email protected]>wrote:

> Can you explain in detail the problem and solution which you found?Waiting
> for ur reply....
>
>
> On Wed, Jun 17, 2009 at 11:10 PM, Joel Paulsson <[email protected]>wrote:
>
>>
>> I was looking for parseInt, it was just that i hadn't get the hang of
>> Java.util.Date fully, now i have so now i know what was wrong. =)
>>
>> On 17 Juni, 10:11, Jason Morris <[email protected]> wrote:
>> > Possibly you are looking for Integer.decode instead of Integer.parseInt?
>> >
>> > Joel Paulsson wrote:
>> > > Thanks for the help, i think i follow. I'll have to look into why
>> > > Integer.parseInt didn't return the value i thought it would return
>> > > then.
>> >
>> > > On 16 Juni, 07:34, "Dean S. Jones" <[email protected]> wrote:
>> > >> Integer.getInteger("name") gets an integer from System properties.
>> >
>> > >> it is ( roughly ) equal to:
>> >
>> > >> Integer.parseInt(System.getProperty("name"));
>> >
>> > >> So, in the GAE, what is the definition if System.getProperty() ???
>> You
>> > >> have no method or means of setting them, you don't know the
>> properties
>> > >> of the Runtime Environment....
>> >
>> > >> Thus, it is useless to ask... and the method is not provided.
>> >
>> > >> On Jun 15, 5:00 pm, Joel Paulsson <[email protected]> wrote:
>> >
>> > >>> Hi!
>> > >>> I run gwt as a plug-in to Eclipse and i have no errors in Eclipse,
>> but
>> > >>> when i run the program to hosted mode i get this error in the
>> > >>> AppEngine Server:
>> > >>> [ERROR] Line 53: The method getInteger(String) is undefined for the
>> > >>> type Integer
>> > >>> If i comment that line it works great, but using getInteger is
>> pretty
>> > >>> vital for me in this application so i need it to work. Can anyone
>> help
>> > >>> me understand why i get this error when i don't have any compilation
>> > >>> errors and maybe find a soloution?
>> > >>> /Joel
>> >
>> >
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to