|
Mobile API Reference
MicroStrategy 2019
|
#import <FileUtils.h>
| + (NSInteger) appendData: | (NSData *) | data | |
| atPath: | (NSString *) | path | |
| error: | (NSError **) | error | |
| + (NSInteger) appendDataWithNoProtection: | (NSData *) | data | |
| atPath: | (NSString *) | path | |
| error: | (NSError **) | error | |
| encrypt: | (bool) | encrypt | |
| + (NSDictionary *) attributesOfItemAtPath: | (NSString *) | path | |
| error: | (NSError **) | error | |
| + (NSString*) cachesDirectory |
| + (void) clearTmpDirectory |
| + (NSArray*) contentsOfDirectoryAtPath: | (NSString *) | path | |
| error: | (NSError **) | error | |
| + (NSInteger) copyItemAtPath: | (NSString *) | path | |
| toPath: | (NSString *) | toPath | |
| error: | (NSError **) | error | |
| + (BOOL) createDirectoryAtPath: | (NSString *) | path | |
| withIntermediateDirectories: | (BOOL) | createIntermediates | |
| attributes: | (NSDictionary *) | attributes | |
| error: | (NSError **) | error | |
| + (BOOL) createFileAtPath: | (NSString *) | path | |
| contents: | (NSData *) | contents | |
| attributes: | (NSDictionary *) | attributes | |
| + (long long) decryptDataAtPath: | (NSString *) | path |
| + (NSString *) decryptedExternalFileForFileAtPath: | (NSString *) | encryptedFilePath |
| + (NSInteger) deleteDataAtPath: | (NSString *) | path | |
| error: | (NSError **) | error | |
| + (NSDictionary*) dictionaryAtFilePath: | (NSString *) | filePath |
| + (NSString*) documentDirectory |
| + (BOOL) fileExistsAtPath: | (NSString *) | path |
| + (BOOL) fileExistsAtPath: | (NSString *) | path | |
| isDirectory: | (BOOL *) | isDirectory | |
| + (size_t) incrementalDecryptSoftwareEncryptedDataAtPath: | (NSString *) | path |
| + (BOOL) isMappedFileSupported |
| + (NSString*) libraryDirectory |
| + (NSString *) mimeTypeForFileAtPath: | (NSString *) | path |
| + (NSInteger) moveItemAtPath: | (NSString *) | path | |
| toPath: | (NSString *) | toPath | |
| error: | (NSError **) | error | |
| + (NSInputStream*) newInputStreamWithFileAtPath: | (NSString *) | filePath |
| + (NSOutputStream*) newOutputStreamToFileAtPath: | (NSString *) | filePath | |
| append: | (BOOL) | append | |
| + (size_t) readData: | (void *) | dataBuf | |
| atPath: | (NSString *) | path | |
| offset: | (long) | offset | |
| length: | (size_t) | length | |
| error: | (NSError **) | error | |
| + (NSData*) readDataAtPath: | (NSString *) | path | |
| error: | (NSError **) | error | |
| + (size_t) readDataInBuffer: | (void **) | dataBuf | |
| atPath: | (NSString *) | path | |
| offset: | (long) | offset | |
| length: | (size_t) | length | |
| error: | (NSError **) | error | |
| + (NSData*) readDataWithNoProtectionAtPath: | (NSString *) | path | |
| error: | (NSError **) | error | |
| encrypt: | (bool) | encrypt | |
| + (void) removeDecryptedFileForFile: | (NSString *) | file |
| + (BOOL) removeItemAtPath: | (NSString *) | path | |
| error: | (NSError **) | error | |
| + (BOOL) setAttributes: | (NSDictionary *) | attributes | |
| ofItemAtPath: | (NSString *) | path | |
| error: | (NSError **) | error | |
| + (void) startAllFileOperations |
| + (void) stopAllFileOperations |
| + (NSArray*) subpathsAtPath: | (NSString *) | path |
| + (NSString*) tempDirectory |
| + (void) waitUntilUnlockOperationIsFinished |
| + (NSInteger) writeData: | (NSData *) | data | |
| atPath: | (NSString *) | path | |
| error: | (NSError **) | error | |
| + (NSInteger) writeDataWithNoProtection: | (NSData *) | data | |
| atPath: | (NSString *) | path | |
| error: | (NSError **) | error | |
| encrypt: | (bool) | encrypt | |
| + (void) writeDictionary: | (NSDictionary *) | dictionary | |
| toFileAtPath: | (NSString *) | filePath | |