Package com.sun.jna.platform.win32
Class Wininet.INTERNET_CACHE_ENTRY_INFO
- java.lang.Object
- 
- com.sun.jna.Structure
- 
- com.sun.jna.platform.win32.Wininet.INTERNET_CACHE_ENTRY_INFO
 
 
- 
- Enclosing interface:
- Wininet
 
 @FieldOrder({"dwStructSize","lpszSourceUrlName","lpszLocalFileName","CacheEntryType","dwUseCount","dwHitRate","dwSizeLow","dwSizeHigh","LastModifiedTime","ExpireTime","LastAccessTime","LastSyncTime","lpHeaderInfo","dwHeaderInfoSize","lpszFileExtension","u","additional"}) public static class Wininet.INTERNET_CACHE_ENTRY_INFO extends Structure Contains information about an entry in the Internet cache.typedef struct _INTERNET_CACHE_ENTRY_INFO { DWORD dwStructSize; LPTSTR lpszSourceUrlName; LPTSTR lpszLocalFileName; DWORD CacheEntryType; DWORD dwUseCount; DWORD dwHitRate; DWORD dwSizeLow; DWORD dwSizeHigh; FILETIME LastModifiedTime; FILETIME ExpireTime; FILETIME LastAccessTime; FILETIME LastSyncTime; LPTSTR lpHeaderInfo; DWORD dwHeaderInfoSize; LPTSTR lpszFileExtension; union { DWORD dwReserved; DWORD dwExemptDelta; }; } INTERNET_CACHE_ENTRY_INFO, *LPINTERNET_CACHE_ENTRY_INFO;- See Also:
- MSDN
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classWininet.INTERNET_CACHE_ENTRY_INFO.UNIONA union of the last two distinct fields in INTERNET_CACHE_ENTRY_INFO- 
Nested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField
 
- 
 - 
Field SummaryFields Modifier and Type Field Description byte[]additionalAdditional data (the path and URLs mentioned previously, and more)intCacheEntryTypeA bitmask indicating the type of cache entry and its properties.
 The cache entry types include: history entries (URLHISTORY_CACHE_ENTRY), cookie entries (COOKIE_CACHE_ENTRY), and normal cached content (NORMAL_CACHE_ENTRY).intdwHeaderInfoSizeSize of the lpHeaderInfo buffer, in TCHARs.intdwHitRateNumber of times the cache entry was retrieved.intdwSizeHighHigh-order portion of the file size, in bytes.intdwSizeLowLow-order portion of the file size, in bytes.intdwStructSizeSize of this structure, in bytes.intdwUseCountCurrent number of WinInet callers using the cache entry.WinBase.FILETIMEExpireTimeFILETIME structure that contains the expiration time of this file, in Greenwich mean time format.WinBase.FILETIMELastAccessTimeFILETIME structure that contains the last accessed time, in Greenwich mean time format.WinBase.FILETIMELastModifiedTimeFILETIME structure that contains the last modified time of this URL, in Greenwich mean time format.WinBase.FILETIMELastSyncTimeFILETIME structure that contains the last time the cache was synchronized.PointerlpHeaderInfoPointer to a buffer that contains the header information.PointerlpszFileExtensionPointer to a string that contains the file name extension used to retrieve the data as a file.PointerlpszLocalFileNamePointer to a null-terminated string that contains the local file name.PointerlpszSourceUrlNamePointer to a null-terminated string that contains the URL name.Wininet.INTERNET_CACHE_ENTRY_INFO.UNIONuA union of the last two distinct fields in INTERNET_CACHE_ENTRY_INFO- 
Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
- 
 - 
Constructor SummaryConstructors Constructor Description INTERNET_CACHE_ENTRY_INFO(int size)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()Ifjna.dump_memoryis true, will include a native memory dump of the Structure's backing memory.- 
Methods inherited from class com.sun.jna.StructureallocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField, writeField
 
- 
 
- 
- 
- 
Field Detail- 
dwStructSizepublic int dwStructSize Size of this structure, in bytes. This value can be used to help determine the version of the cache system.
 - 
lpszSourceUrlNamepublic Pointer lpszSourceUrlName Pointer to a null-terminated string that contains the URL name. The string occupies the memory area at the end of this structure.
 - 
lpszLocalFileNamepublic Pointer lpszLocalFileName Pointer to a null-terminated string that contains the local file name. The string occupies the memory area at the end of this structure.
 - 
CacheEntryTypepublic int CacheEntryType A bitmask indicating the type of cache entry and its properties.
 The cache entry types include: history entries (URLHISTORY_CACHE_ENTRY), cookie entries (COOKIE_CACHE_ENTRY), and normal cached content (NORMAL_CACHE_ENTRY).
 
 This member can be zero or more of the following property flags, and cache type flags listed below.- EDITED_CACHE_ENTRY: Cache entry file that has been edited externally. This cache entry type is exempt from scavenging.
- SPARSE_CACHE_ENTRY: Partial response cache entry.
- STICKY_CACHE_ENTRY: Sticky cache entry that is exempt from
 scavenging for the amount of time specified by dwExemptDelta.
 The default value set by CommitUrlCacheEntryA and CommitUrlCacheEntryW is one day.
- TRACK_OFFLINE_CACHE_ENTRY: Not currently implemented.
- TRACK_ONLINE_CACHE_ENTRY: Not currently implemented.
 
 The following list contains the cache type flags.- COOKIE_CACHE_ENTRY: Cookie cache entry.
- NORMAL_CACHE_ENTRY: Normal cache entry; can be deleted to recover space for new entries.
- URLHISTORY_CACHE_ENTRY: Visited link cache entry.
 
 - 
dwUseCountpublic int dwUseCount Current number of WinInet callers using the cache entry.
 - 
dwHitRatepublic int dwHitRate Number of times the cache entry was retrieved.
 - 
dwSizeLowpublic int dwSizeLow Low-order portion of the file size, in bytes.
 - 
dwSizeHighpublic int dwSizeHigh High-order portion of the file size, in bytes.
 - 
LastModifiedTimepublic WinBase.FILETIME LastModifiedTime FILETIME structure that contains the last modified time of this URL, in Greenwich mean time format.
 - 
ExpireTimepublic WinBase.FILETIME ExpireTime FILETIME structure that contains the expiration time of this file, in Greenwich mean time format.
 - 
LastAccessTimepublic WinBase.FILETIME LastAccessTime FILETIME structure that contains the last accessed time, in Greenwich mean time format.
 - 
LastSyncTimepublic WinBase.FILETIME LastSyncTime FILETIME structure that contains the last time the cache was synchronized.
 - 
lpHeaderInfopublic Pointer lpHeaderInfo Pointer to a buffer that contains the header information. The buffer occupies the memory at the end of this structure.
 - 
dwHeaderInfoSizepublic int dwHeaderInfoSize Size of the lpHeaderInfo buffer, in TCHARs.
 - 
lpszFileExtensionpublic Pointer lpszFileExtension Pointer to a string that contains the file name extension used to retrieve the data as a file. The string occupies the memory area at the end of this structure.
 - 
upublic Wininet.INTERNET_CACHE_ENTRY_INFO.UNION u A union of the last two distinct fields in INTERNET_CACHE_ENTRY_INFO
 - 
additionalpublic byte[] additional Additional data (the path and URLs mentioned previously, and more)
 
- 
 
-