/**@class android.webkit.CacheManager @extends java.lang.Object Manages the HTTP cache used by an application's {@link android.webkit.WebView} instances. @deprecated Access to the HTTP cache will be removed in a future release. @hide Since {@link android.os.Build.VERSION_CODES#JELLY_BEAN_MR1} */ var CacheManager = { /**Gets the base directory in which the files used to store the contents of cache entries are placed. See {@link android.webkit.CacheManager.CacheResult#getLocalPath android.webkit.CacheManager.CacheResult.getLocalPath()}. @return {Object {java.io.File}} the base directory of the cache @deprecated This method no longer has any effect and always returns null. */ getCacheFileBaseDir : function( ) {}, /**Gets whether the HTTP cache is disabled. @return {Boolean} true if the HTTP cache is disabled @deprecated This method no longer has any effect and always returns false. */ cacheDisabled : function( ) {}, /**Starts a cache transaction. Returns true if this is the only running transaction. Otherwise, this transaction is nested inside currently running transactions and false is returned. @return {Boolean} true if this is the only running transaction @deprecated This method no longer has any effect and always returns false. */ startCacheTransaction : function( ) {}, /**Ends the innermost cache transaction and returns whether this was the only running transaction. @return {Boolean} true if this was the only running transaction @deprecated This method no longer has any effect and always returns false. */ endCacheTransaction : function( ) {}, /**Gets the cache entry for the specified URL, or null if none is found. If a non-null value is provided for the HTTP headers map, and the cache entry needs validation, appropriate headers will be added to the map. The input stream of the CacheEntry object should be closed by the caller when access to the underlying file is no longer required. @param {String} url the URL for which a cache entry is requested @param {Object {java.util.Map}} headers a map from HTTP header name to value, to be populated for the returned cache entry @return {Object {android.webkit.CacheManager.CacheResult}} the cache entry for the specified URL @deprecated This method no longer has any effect and always returns null. */ getCacheFile : function( ) {}, /**Adds a cache entry to the HTTP cache for the specicifed URL. Also closes the cache entry's output stream. @param {String} url the URL for which the cache entry should be added @param {Object {CacheManager.CacheResult}} cacheResult the cache entry to add @deprecated Access to the HTTP cache will be removed in a future release. */ saveCacheFile : function( ) {}, };