Atalasoft MobileImage API Reference
KFXBundleProtocol.h
Go to the documentation of this file.
1 //
2 // KFXBundleProtocol.h
3 // kfxLibEngines
4 //
5 // Copyright (c) 2014-2016 Kofax. All rights reserved. Kofax Confidential.
6 // Unauthorized use, duplication, or distribution, or disclosure is strictly prohibited.
7 //
8 
9 #import <Foundation/Foundation.h>
10 
12 
17 @protocol KFXBundleFileProtocol <NSObject>
18 
20 
25 - (BOOL)isDirectory;
26 
28 
36 - (NSString*)getFilePathWithError:(NSError**)error;
37 
39 
45 - (void)writeFileToPath:(NSString*)path error:(NSError**)error;
46 
48 
53 - (NSString*)absolutePath;
54 
56 
61 - (NSString*)name;
62 
63 @end
64 
65 
67 
72 @protocol KFXBundleProtocol <NSObject>
73 
75 
83 - (void)enumerateUsingBlock:(void (^)(id<KFXBundleFileProtocol> file, BOOL* stop, NSError* error))block;
84 
85 @end
BOOL isDirectory()
Is directory.
Bundle file protocol.
Definition: KFXBundleProtocol.h:17
NSString * name()
File name.
Bundle protocol.
Definition: KFXBundleProtocol.h:72
NSString * absolutePath()
Absolute file path.
Untitled Document © 2016 Atalasoft, Inc., 116 Pleasant St, Suite 321, Easthampton, MA 01027, U.S.A. All rights reserved. Use is subject to license terms.