Inherits from NSObject
Declared in AlfrescoFileManager.h

Overview

The AlfrescoFileManager is used for all file system usage

Author: Tauseef Mughal (Alfresco)

Tasks

  •   homeDirectory

    Property holds a string representation to the home directory on the file system

    property
  •   documentsDirectory

    Property holds a string representation to the documents directory on the file system

    property
  •   temporaryDirectory

    Property holds a string representation to the temp directory on the file system

    property
  • + sharedManager

    Call this function to get a shared instance of the AlfrescoFileManager

  • – fileExistsAtPath:

    Call this to check if a file exists at the path location

  • – fileExistsAtPath:isDirectory:

    Call this to check if a file exists at the path location passing in a memory reference pointer to a BOOL which indicates if the path points to a directory

Properties

documentsDirectory

Property holds a string representation to the documents directory on the file system

@property (nonatomic, strong, readonly) NSString *documentsDirectory

Discussion

Property holds a string representation to the documents directory on the file system

Declared In

AlfrescoFileManager.h

homeDirectory

Property holds a string representation to the home directory on the file system

@property (nonatomic, strong, readonly) NSString *homeDirectory

Discussion

Property holds a string representation to the home directory on the file system

Declared In

AlfrescoFileManager.h

temporaryDirectory

Property holds a string representation to the temp directory on the file system

@property (nonatomic, strong, readonly) NSString *temporaryDirectory

Discussion

Property holds a string representation to the temp directory on the file system

Declared In

AlfrescoFileManager.h

Class Methods

sharedManager

Call this function to get a shared instance of the AlfrescoFileManager

+ (AlfrescoFileManager *)sharedManager

Discussion

Call this function to get a shared instance of the AlfrescoFileManager

Declared In

AlfrescoFileManager.h

Instance Methods

fileExistsAtPath:

Call this to check if a file exists at the path location

- (BOOL)fileExistsAtPath:(NSString *)path

Return Value

bool - True if the file/folder exists

Discussion

Call this to check if a file exists at the path location

Declared In

AlfrescoFileManager.h

fileExistsAtPath:isDirectory:

Call this to check if a file exists at the path location passing in a memory reference pointer to a BOOL which indicates if the path points to a directory

- (BOOL)fileExistsAtPath:(NSString *)path isDirectory:(BOOL *)isDirectory

Return Value

bool - True if the file/folder exists

Discussion

Call this to check if a file exists at the path location passing in a memory reference pointer to a BOOL which indicates if the path points to a directory

Declared In

AlfrescoFileManager.h