What the error message you are getting?
On Fri, Jan 14, 2011 at 9:12 AM, Chandana Napagoda <[email protected]>wrote:
> Hi All,
>
> I have issue with decode Hex String value value to String conversion.
>
> If Input is :
>
> 687474703a2f2f7777772e676f6f676c652e6c6b2f
> Here is my decode logic:
>
> private static String hexStringToByteArray(String s) {
> int len = s.length();
> byte[] data = new byte[len / 2];
> for (int i = 0; i < len; i += 2) {
> data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16)
> << 4) + Character.digit(s.charAt(i+1), 16));
> }
>
> return new String(data);
> }
> this one work fine with Any other java application, but For Google App
> engine this doesn't work.
>
> Anyone know why this happened?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" 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-appengine-java?hl=en.