Yini  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
WSQFileHelper Class Reference

#import <WSQFileHelper.h>

Inheritance diagram for WSQFileHelper:
<DBRestClientDelegate>

Public Member Functions

(NSString *) - newsListPath
(NSString *) - localFileDirec
(void) - refresh
 Ask Dropbox SDK to loade Delta.
(void) - selfDestory
 Set local variables to nil.
(void) - setDBRootPath:
(NSString *) - directoryForNewsSysFile:
(NSString *) - directoryForNewsMediaFile:
(NSString *) - sysMetadataPathForNews:
(NSString *) - mediaMetadataPathForNews:
(NSString *) - pathNameFromDBPath:
(NSString *) - sysPathNameFromDBPath:
(NSString *) - sysFolderAnyFileDirectoryWithOriginalNamePath:
(NSString *) - trimDBRoot:
(BOOL) - sysFileExistForNamePath:
(BOOL) - fileExistInSysFolderWithNamePath:
(NSString *) - thumbnailPathForNewsNamePath:
(void) - loadThumbnailForDBPath:
(void) - loadMediaFileForDBPath:
(void) - loadSysFileForNamePath:
- Public Member Functions inherited from
(void) - restClient:loadedMetadata:
(void) - restClient:metadataUnchangedAtPath:
(void) - restClient:loadMetadataFailedWithError:
(void) - restClient:loadedDeltaEntries:reset:cursor:hasMore:
(void) - restClient:loadDeltaFailedWithError:
(void) - restClient:loadedAccountInfo:
(void) - restClient:loadAccountInfoFailedWithError:
(void) - restClient:loadedFile:
(void) - restClient:loadedFile:contentType:metadata:
(void) - restClient:loadProgress:forFile:
(void) - restClient:loadFileFailedWithError:
(void) - restClient:loadedThumbnail:metadata:
(void) - restClient:loadThumbnailFailedWithError:
(void) - restClient:uploadedFile:from:metadata:
(void) - restClient:uploadProgress:forFile:from:
(void) - restClient:uploadFileFailedWithError:
(void) - restClient:uploadedFile:from:
(void) - restClient:loadedFile:contentType:
(void) - restClient:loadedThumbnail:
(void) - restClient:loadedRevisions:forFile:
(void) - restClient:loadRevisionsFailedWithError:
(void) - restClient:restoredFile:
(void) - restClient:restoreFileFailedWithError:
(void) - restClient:createdFolder:
(void) - restClient:createFolderFailedWithError:
(void) - restClient:deletedPath:
(void) - restClient:deletePathFailedWithError:
(void) - restClient:copiedPath:to:
(void) - restClient:copyPathFailedWithError:
(void) - restClient:createdCopyRef:
(void) - restClient:createCopyRefFailedWithError:
(void) - restClient:copiedRef:to:
(void) - restClient:copyFromRefFailedWithError:
(void) - restClient:movedPath:to:
(void) - restClient:movePathFailedWithError:
(void) - restClient:loadedSearchResults:forPath:keyword:
(void) - restClient:searchFailedWithError:
(void) - restClient:loadedSharableLink:forFile:
(void) - restClient:loadSharableLinkFailedWithError:
(void) - restClient:loadedStreamableURL:forFile:
(void) - restClient:loadStreamableURLFailedWithError:

Static Public Member Functions

(WSQFileHelper *) + sharedHelper

Protected Attributes

DBRestClientrestClient
 DBclient, [self restClient] is called to get this variable.
NSFileManager * manager
NSString * localCursor
 set and save to a file automatically
NSMutableDictionary * newsNames
 used to load news and archieved to file auto.

Properties

id delegate

Member Function Documentation

- (NSString *) directoryForNewsMediaFile: (NSString *)  name
- (NSString *) directoryForNewsSysFile: (NSString*)  name
- (BOOL) fileExistInSysFolderWithNamePath: (NSString*)  np
- (void) loadMediaFileForDBPath: (NSString*)  dbPath
- (void) loadSysFileForNamePath: (NSString*)  nPath
- (void) loadThumbnailForDBPath: (NSString*)  DBPath
- (NSString *) localFileDirec
Returns
"<documentsDirectory>/News"
- (NSString *) mediaMetadataPathForNews: (NSString*)  name
- (NSString *) newsListPath
Returns
local path to the news list I saved...
- (NSString *) pathNameFromDBPath: (NSString *)  path
- (void) refresh

Ask Dropbox SDK to loade Delta.

Will announce notifications.

- (void) selfDestory

Set local variables to nil.

Set loacalCursor, newsNames to nil.

- (void) setDBRootPath: (NSString*)  dbP
+ (WSQFileHelper *) sharedHelper
- (BOOL) sysFileExistForNamePath: (NSString *)  np
- (NSString *) sysFolderAnyFileDirectoryWithOriginalNamePath: (NSString*)  oNamePath
- (NSString *) sysMetadataPathForNews: (NSString*)  name
- (NSString *) sysPathNameFromDBPath: (NSString *)  path
- (NSString *) thumbnailPathForNewsNamePath: (NSString*)  namePath
- (NSString*) trimDBRoot: (NSString *)  dbFullPath

Member Data Documentation

- (NSString*) localCursor
protected

set and save to a file automatically

- (NSFileManager*) manager
protected
- (NSMutableDictionary *) newsNames
protected

used to load news and archieved to file auto.

- (DBRestClient *) restClient
protected

DBclient, [self restClient] is called to get this variable.

Property Documentation

- (id) delegate
readwritenonatomicstrong

The documentation for this class was generated from the following files: