Atalasoft MobileImage API Reference
KFXBundleProtocol.h
Go to the documentation of this file.
1 //
2 // KFXBundleProtocol.h
3 // kfxLibEngines
4 //
5 // Copyright (c) 2014-2017 Kofax. All rights reserved. Kofax Confidential.
6 // Unauthorized use, duplication, or distribution, or disclosure is strictly prohibited.
7 //
8 
9 #ifndef KFXBUNDLEFILEPROTOCOL
10 #define KFXBUNDLEFILEPROTOCOL 1
11 
12 #import <Foundation/Foundation.h>
13 
15 
20 @protocol KFXBundleFileProtocol <NSObject>
21 
23 
28 - (BOOL)isDirectory;
29 
31 
39 - (NSString*)getFilePathWithError:(NSError**)error;
40 
42 
48 - (void)writeFileToPath:(NSString*)path error:(NSError**)error;
49 
51 
56 - (NSString*)absolutePath;
57 
59 
64 - (NSString*)name;
65 
66 @end
67 
68 
70 
75 @protocol KFXBundleProtocol <NSObject>
76 
78 
86 - (void)enumerateUsingBlock:(void (^)(id<KFXBundleFileProtocol> file, BOOL* stop, NSError* error))block;
87 
88 @end
89 
90 #endif
BOOL isDirectory()
Is directory.
Bundle file protocol.
Definition: KFXBundleProtocol.h:20
NSString * name()
File name.
Bundle protocol.
Definition: KFXBundleProtocol.h:75
NSString * absolutePath()
Absolute file path.
Untitled Document © 2017 Atalasoft, Inc., 116 Pleasant St, Suite 321, Easthampton, MA 01027, U.S.A. All rights reserved. Use is subject to license terms.