• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Can I empty the browser cache from Java ?

 
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
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • 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
 
He was giving me directions and I was powerless to resist. I cannot resist this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic