Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can I empty the browser cache from Java ?

 
Adrian Muscalu
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I keeps thinking about that. In java40.jar package there are some interesting classes regarding the cache but I can't tell if they are usefull because I couldn't find a javadoc for them.
Can anybody give me a hint how to do it or how to find that documentation?
Thank you
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java40.jar was packaged with Netscape Navigator, and the classes in there are called to Netscape Capability Classes. You should be able to find documentation for them on the netscape developer site, right here. The capability classes let you do all kinds of things like calling Javascript from Java, and vice versa, and break out of the applet sandbox. Unfortunately, most of this requires your applets to be signed. Hopefully the link will provide you with more information.

-Nate
 
Adrian Muscalu
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for the reply. I followed the link but unfortunatelly there is nothing there that might solve my problem. There are all kind of things concerning the restrictions, applet signing, etc but nothing about the cache.
In my oppinion, Netscape didn't intended to make this java40.jar a public thing. This is why it doesn't have an API.
If anyone tried to play with the browser cache from inside the applet code, please share with me your experience.
Best Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic