Is there a way to wrap some local cache around a URLConnection

Posted by Michael Neale on Stack Overflow See other posts from Stack Overflow or by Michael Neale
Published on 2009-07-27T07:28:10Z Indexed on 2010/04/11 22:33 UTC
Read the original article Hit count: 202

Filed under:

I am using a URLConnection class - I want to be able to grab a stream to a given URL even if said URL is unavailable (ie cache the last known cope of the content on a URL, to some local file system dir) - now I have written this code a few times (never happy with it) and was wondering if there is something better out there that might be able to do this.

© Stack Overflow or respective owner

Related posts about java