DTCachedFile Class Reference
| Inherits from | NSManagedObject |
| Declared in | DTCachedFile.h |
Overview
A managed object representing meta information on a cached file.
You usually never access these directly, they are used internally by DTDownloadCache
Tasks
-
remoteURLproperty -
fileDataproperty -
lastAccessDateproperty -
lastModifiedDateproperty -
expirationDateproperty -
contentTypeproperty -
fileSizeproperty -
forceLoadproperty -
abortDownloadIfNotChangedproperty -
isLoadingproperty -
entityTagIdentifierproperty -
priorityproperty
Properties
abortDownloadIfNotChanged
Abort a download if the ETag and/or last modified are the same
@property (nonatomic, retain) NSNumber *abortDownloadIfNotChangedDeclared In
DTCachedFile.hcontentType
The content MIME type of the receiver
@property (nonatomic, retain) NSString *contentTypeDeclared In
DTCachedFile.hentityTagIdentifier
The ETag of the receiver if the remote host did return one
@property (nonatomic, retain) NSString *entityTagIdentifierDeclared In
DTCachedFile.hexpirationDate
The time when the receiver is set to expire. Note: Not yet implemented.
@property (nonatomic, retain) NSDate *expirationDateDeclared In
DTCachedFile.hfileData
The data in the file represented by the receiver
@property (nonatomic, retain) NSData *fileDataDeclared In
DTCachedFile.hfileSize
The file size in bytes of the receiver
@property (nonatomic, retain) NSNumber *fileSizeDeclared In
DTCachedFile.hforceLoad
Flag to force the loading of the file, even if data is cached
@property (nonatomic, retain) NSNumber *forceLoadDeclared In
DTCachedFile.hisLoading
Transient flag to show that this is already being downloaded
@property (nonatomic, retain) NSNumber *isLoadingDeclared In
DTCachedFile.hlastAccessDate
The last time when the receiver was accessed
@property (nonatomic, retain) NSDate *lastAccessDateDeclared In
DTCachedFile.hlastModifiedDate
The last time the receiver was modified
@property (nonatomic, retain) NSDate *lastModifiedDateDeclared In
DTCachedFile.h