Decompressing a large blob in java on Google App Engine?

You could look into RequestBuilder which runs async RequestBuilder requestBuilder = new RequestBuilder(RequestBuilder. GET,"/blobserve? Key=" + htmlBlobKey); try { requestBuilder.

SendRequest(null, new RequestCallback() { public void onError(Request request, Throwable exception) { GWT. Log(exception.getMessage()); } public void onResponseReceived(Request request, Response response) { doSomething(response.getText());//here update your iframe and stop progress indicator } }); } catch (RequestException ex) { GWT. Log(ex.getMessage()); }.

Very cool. I'll give it a whirl tomorrow and update the post with my findings. Thanks Sasha!

– Bob Sep 21 at 3:49.

I took Nick Johnson's idea and read from the Blobstore directly vs serving the blobs. Now it's lightning fast! Here's the code: try{ ChainedBlobstoreInputStream inputStream = new ChainedBlobstoreInputStream(this.getHtmlBlobKey()); //StringWriter writer = new StringWriter(); byte data = IOUtils.

ToByteArray(inputStream); return new String(Functions. Decompress(Encrypt. AESDecrypt(data))); //return new String(data); } catch(Exception e){ return "No HTML Version"; } I got the ChainedBlobstoreInputStream class from here: Reading a BlobstoreInputStream >= 1MB in size.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions