• 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
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

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
 
You totally ruined the moon. You're gonna hafta pay for that you know. This tiny ad agrees:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!