jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Smuts <asm...@yahoo.com>
Subject Re: Can i store and fetchr aw blocks of bytes?
Date Wed, 26 Aug 2009 13:42:00 GMT
I think you'll have to do this yourself.  Why don't you just write the objects to a ByteArrayOutputStream.

Aaron

--- On Tue, 8/25/09, Jeffrey Kesselman <jeffpk@gmail.com> wrote:

> From: Jeffrey Kesselman <jeffpk@gmail.com>
> Subject: Can i store and fetchr aw blocks of bytes?
> To: "JCS Users List" <jcs-users@jakarta.apache.org>
> Date: Tuesday, August 25, 2009, 6:06 PM
> Hi Guys,
> 
> Im trying to mate JCS at the moment with another system
> that expects to
> access data as bytes vi a URL.  As sun Im writing a
> jcs protocol handler.
> 
> The problem is that, as alluded to above, a protocl handler
> expcts to hand
> back its data as a byte stream.
> 
> Is there a way to push thinsg into and take thinsg otu of
> the JCS cache as
> blocks of bytes?
> -- 
> ~~ Microsoft help desk says: reply hazy, ask again later.
> ~~
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org


Mime
View raw message