Thanks Adam,I want to use app engine cache which stores value as bytes, Is there any other way to do it other than implementing my own getbytes function.
On Tue, May 19, 2009 at 10:30 AM, Adam T <[email protected]> wrote: > > Hi Vijay, > > GWT emulates a subset of Java, so you can get caught out if you're > relying on Eclipse autocompletion and compilation - as that will show > you all of Java. > > To see what is implemented, check out the GWT JRE documentation: > http://code.google.com/intl/sv-SE/webtoolkit/doc/1.6/RefJreEmulation.html > > (You'll see under java.lang.String that getBytes() is not listed, so > it's not available in GWT). > > Hope that explains/helps > > //Adam > > On 19 Maj, 00:21, vijay <[email protected]> wrote: > > Hi All, > > I am getting a error > > > > *getbytes*() *is undefined for the type string* > > > > the code is > > > > String primary_name = e.getPrimaryName(); > > byte[] value = primary_name.getBytes(); > > > > The eclipse showed me the method getbytes for autocompletion and eclipse > is > > happpy with it but when i try to run the application it gives me a above > > error. > > I tried to Google it for hours but couldn't find any thing helpful. I > think > > i have done some silly mistake, Please help. > > > > Regards, > > Vijay > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
