Top Description Constructors Methods
com.sun.jna.platform.win32

public Class WininetUtil

extends Object
Class Inheritance
Imports
java.util.ArrayList, .LinkedHashMap, .List, .Map, com.sun.jna.Native, com.sun.jna.platform.win32.Wininet.INTERNET_CACHE_ENTRY_INFO, .WinNT.HANDLE, com.sun.jna.ptr.IntByReference

Reusable functions that use WinInet

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static Map<String, String>

Returns:

A map of cache URL => local file (or URL => empty string for cookie and history entries)
getCache
()

Helper function for traversing wininet's cache and returning all entries.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

WininetUtilback to summary
public WininetUtil()

Method Detail

getCacheback to summary
public static Map<String, String> getCache()

Helper function for traversing wininet's cache and returning all entries.
Some entries are cookies, some entries are history items, and some are actual files.

Returns:Map<String, String>

A map of cache URL => local file (or URL => empty string for cookie and history entries)