- 浏览: 675401 次
文章分类
最新评论
IOS文件系统,文件目录结构学习
NSFileManager
[self.fileManagerfileExistsAtPath:isDirectory:];
用于执行一般的文件系统操作 (reading and writing is done via NSData, et. al.).
主要功能包括:从一个文件中读取数据;向一个文件中写入数据;删除文件;复制文件;移动文件;比较两个文件的内容;测试文件的存在性;读取/更改文件的属性... ...<wbr><br><span style="line-height:25px">Just alloc/init an instance and start performing operations. Thread safe.</span><br><br><ul style="line-height:25px; margin-top:5px; margin-right:0px; margin-bottom:5px; margin-left:40px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-style:initial; border-color:initial; list-style-type:none; list-style-position:initial"><li style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:30px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-style:initial; border-color:initial; list-style-type:disc; list-style-position:initial"> 常见的<strong>NSFileManager处理<span style="word-wrap:normal; word-break:normal; line-height:21px; background-color:rgb(255,255,0)">文件</span>的方法</strong>如下:</li></ul> <pre style="line-height:25px; white-space:normal; word-wrap:break-word; padding-top:2px; padding-right:2px; padding-bottom:2px; padding-left:2px; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid; border-top-color:rgb(136,136,136); border-right-color:rgb(136,136,136); border-bottom-color:rgb(136,136,136); border-left-color:rgb(136,136,136)"><span style="color:#66066; word-wrap:normal; word-break:normal; line-height:21px">NSFileManager</span><span style="word-wrap:normal; word-break:normal; line-height:21px"></span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">*</span><span style="word-wrap:normal; word-break:normal; line-height:21px">fileManager</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">=</span><span style="word-wrap:normal; word-break:normal; line-height:21px"></span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">[[</span><span style="color:#66066; word-wrap:normal; word-break:normal; line-height:21px">NSFileManager</span><span style="word-wrap:normal; word-break:normal; line-height:21px">alloc</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">]</span><span style="word-wrap:normal; word-break:normal; line-height:21px">init</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">];</span><span style="word-wrap:normal; word-break:normal; line-height:21px"></span><span style="color:#8800; word-wrap:normal; word-break:normal; line-height:21px">//最好不要用defaultManager。</span></pre> <pre style="line-height:25px; white-space:normal; word-wrap:break-word; padding-top:2px; padding-right:2px; padding-bottom:2px; padding-left:2px; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid; border-top-color:rgb(136,136,136); border-right-color:rgb(136,136,136); border-bottom-color:rgb(136,136,136); border-left-color:rgb(136,136,136)"><span style="color:#66066; word-wrap:normal; word-break:normal; line-height:21px">NSData</span><span style="word-wrap:normal; word-break:normal; line-height:21px"></span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">*</span><span style="word-wrap:normal; word-break:normal; line-height:21px">myData</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">=</span><span style="word-wrap:normal; word-break:normal; line-height:21px"></span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">[</span><span style="word-wrap:normal; word-break:normal; line-height:21px">fileManager contentsAtPath</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">path</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">];</span><span style="word-wrap:normal; word-break:normal; line-height:21px"></span><span style="color:#8800; word-wrap:normal; word-break:normal; line-height:21px">// 从一个文件中读取数据</span></pre> <pre style="line-height:25px; white-space:normal; word-wrap:break-word; padding-top:2px; padding-right:2px; padding-bottom:2px; padding-left:2px; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid; border-top-color:rgb(136,136,136); border-right-color:rgb(136,136,136); border-bottom-color:rgb(136,136,136); border-left-color:rgb(136,136,136)"><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">[</span><span style="word-wrap:normal; word-break:normal; line-height:21px">fileManager createFileAtPath</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">path contents</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">myData attributes</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">dict</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">];</span><span style="color:#8800; word-wrap:normal; word-break:normal; line-height:21px">//向一个文件中写入数据,属性字典允许你制定要创建</span></pre> <pre style="line-height:25px; white-space:normal; word-wrap:break-word; padding-top:2px; padding-right:2px; padding-bottom:2px; padding-left:2px; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid; border-top-color:rgb(136,136,136); border-right-color:rgb(136,136,136); border-bottom-color:rgb(136,136,136); border-left-color:rgb(136,136,136)"><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">[</span><span style="word-wrap:normal; word-break:normal; line-height:21px">fileManager removeItemAtPath</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">path error</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">err</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">];</span></pre> <pre style="line-height:25px; white-space:normal; word-wrap:break-word; padding-top:2px; padding-right:2px; padding-bottom:2px; padding-left:2px; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid; border-top-color:rgb(136,136,136); border-right-color:rgb(136,136,136); border-bottom-color:rgb(136,136,136); border-left-color:rgb(136,136,136)"><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">[</span><span style="word-wrap:normal; word-break:normal; line-height:21px">fileManager moveItemAtPath</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">path toPath</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">path2 error</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">err</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">];</span></pre> <pre style="line-height:25px; white-space:normal; word-wrap:break-word; padding-top:2px; padding-right:2px; padding-bottom:2px; padding-left:2px; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid; border-top-color:rgb(136,136,136); border-right-color:rgb(136,136,136); border-bottom-color:rgb(136,136,136); border-left-color:rgb(136,136,136)"><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">[</span><span style="word-wrap:normal; word-break:normal; line-height:21px">fileManager copyItemAtPath</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">path toPath</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">path2 error</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">err</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">];</span></pre> <pre style="line-height:25px; white-space:normal; word-wrap:break-word; padding-top:2px; padding-right:2px; padding-bottom:2px; padding-left:2px; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid; border-top-color:rgb(136,136,136); border-right-color:rgb(136,136,136); border-bottom-color:rgb(136,136,136); border-left-color:rgb(136,136,136)"><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">[</span><span style="word-wrap:normal; word-break:normal; line-height:21px">fileManager contentsEqualAtPath</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">path andPath</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">path2</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">];</span></pre> <pre style="line-height:25px; white-space:normal; word-wrap:break-word; padding-top:2px; padding-right:2px; padding-bottom:2px; padding-left:2px; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid; border-top-color:rgb(136,136,136); border-right-color:rgb(136,136,136); border-bottom-color:rgb(136,136,136); border-left-color:rgb(136,136,136)"><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">[</span><span style="word-wrap:normal; word-break:normal; line-height:21px">fileManager fileExistsAtPath</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">path</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">];</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">...</span><span style="word-wrap:normal; word-break:normal; line-height:21px"></span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">...</span></pre> <ul style="line-height:25px; margin-top:5px; margin-right:0px; margin-bottom:5px; margin-left:40px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-style:initial; border-color:initial; list-style-type:none; list-style-position:initial"><li style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:30px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-style:initial; border-color:initial; list-style-type:disc; list-style-position:initial"> 常见的<strong>NSFileManager处理<span style="word-wrap:normal; word-break:normal; line-height:21px; background-color:rgb(255,255,0)">目录</span>的方法</strong>如下:</li></ul> <pre style="line-height:25px; white-space:normal; word-wrap:break-word; padding-top:2px; padding-right:2px; padding-bottom:2px; padding-left:2px; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid; border-top-color:rgb(136,136,136); border-right-color:rgb(136,136,136); border-bottom-color:rgb(136,136,136); border-left-color:rgb(136,136,136)"><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">[</span><span style="word-wrap:normal; word-break:normal; line-height:21px">fileManager currentDirectoryPath</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">];</span></pre> <pre style="line-height:25px; white-space:normal; word-wrap:break-word; padding-top:2px; padding-right:2px; padding-bottom:2px; padding-left:2px; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid; border-top-color:rgb(136,136,136); border-right-color:rgb(136,136,136); border-bottom-color:rgb(136,136,136); border-left-color:rgb(136,136,136)"><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">[</span><span style="word-wrap:normal; word-break:normal; line-height:21px">fileManager changeCurrentDirectoryPa<wbr>th</wbr></span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">path</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">];</span></pre> <pre style="line-height:25px; white-space:normal; word-wrap:break-word; padding-top:2px; padding-right:2px; padding-bottom:2px; padding-left:2px; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid; border-top-color:rgb(136,136,136); border-right-color:rgb(136,136,136); border-bottom-color:rgb(136,136,136); border-left-color:rgb(136,136,136)"><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">[</span><span style="word-wrap:normal; word-break:normal; line-height:21px">fileManager copyItemAtPath</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">path toPath</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">path2 error</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">err</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">];</span></pre> <pre style="line-height:25px; white-space:normal; word-wrap:break-word; padding-top:2px; padding-right:2px; padding-bottom:2px; padding-left:2px; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid; border-top-color:rgb(136,136,136); border-right-color:rgb(136,136,136); border-bottom-color:rgb(136,136,136); border-left-color:rgb(136,136,136)"><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">[</span><span style="word-wrap:normal; word-break:normal; line-height:21px">fileManager createDirectoryAtPath</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">path withIntermediateDirector<wbr>ies</wbr></span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">YES attributes</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="color:#0088; word-wrap:normal; word-break:normal; line-height:21px">nil</span><span style="word-wrap:normal; word-break:normal; line-height:21px">error</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">err</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">];</span></pre> <pre style="line-height:25px; white-space:normal; word-wrap:break-word; padding-top:2px; padding-right:2px; padding-bottom:2px; padding-left:2px; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid; border-top-color:rgb(136,136,136); border-right-color:rgb(136,136,136); border-bottom-color:rgb(136,136,136); border-left-color:rgb(136,136,136)"><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">[</span><span style="word-wrap:normal; word-break:normal; line-height:21px">fileManager fileExistsAtPath</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">path isDirectory</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">YES</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">];</span></pre> <pre style="line-height:25px; white-space:normal; word-wrap:break-word; padding-top:2px; padding-right:2px; padding-bottom:2px; padding-left:2px; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid; border-top-color:rgb(136,136,136); border-right-color:rgb(136,136,136); border-bottom-color:rgb(136,136,136); border-left-color:rgb(136,136,136)"><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">[</span><span style="word-wrap:normal; word-break:normal; line-height:21px">fileManager enumeratorAtPath</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">:</span><span style="word-wrap:normal; word-break:normal; line-height:21px">path</span><span style="color:#66660; word-wrap:normal; word-break:normal; line-height:21px">];</span><span style="word-wrap:normal; word-break:normal; line-height:21px"></span><span style="color:#8800; word-wrap:normal; word-break:normal; line-height:21px">//获取目录的内容列表。一次可以枚举指定目录中的每个文件。</span><span style="color:#8800; word-wrap:normal; word-break:normal; line-height:21px">... ...</span></pre> <span style="line-height:25px">Has a delegate with lots of “should” methods (to do an operation or proceed after an error).</span><br><span style="line-height:25px">And plenty more. Check out the documentation.</span></wbr>
1、文件的创建
-(IBAction) CreateFile { //对于错误信息 NSError *error; // 创建文件管理器 NSFileManager *fileMgr = [NSFileManager defaultManager]; //指向文件目录 NSString *documentsDirectory= [NSHomeDirectory() stringByAppendingPathCom<wbr><wbr>ponent:@"Documents"];</wbr></wbr>
[[NSFileManager defaultManager]<wbr><wbr><wbr><wbr><wbr>createDirectoryAtPath: [NSString stringWithFormat:@"</wbr></wbr></wbr></wbr></wbr>%@/myFolder", NSHomeDirectory()] attributes:nil]; // File we want to create in the documents directory我们想要创建的文件将会出现在文件目录中 // Result is: /Documents/file1.txt结果为:/Documents/file1.txt NSString *filePath= [documentsDirectory stringByAppendingPathCom<wbr><wbr>ponent:@"file2.txt"];</wbr></wbr> //需要写入的字符串 NSString *str= @"iPhoneDeveloper Tips\nhttp://iPhoneDevelopTips,com"; //写入文件 [str writeToFile:filePath atomically:YES encoding:NSUTF8StringEncoding error:&error]; //显示文件目录的内容 NSLog(@"Documentsdirectory:<wbr></wbr>%@",[fileMgr<wbr>contentsOfDirectoryAtPat<wbr><wbr>h:documentsDirectory error:&error]);<br> }<wbr></wbr></wbr></wbr></wbr> |
|
<wbr></wbr>
2、对文件重命名<wbr></wbr>
对一个文件重命名 想要重命名一个文件,我们需要把文件移到一个新的路径下。下面的代码创建了我们所期望的目标文件的路径,然后请求移动文件以及在移动之后显示文件目录。 //通过移动该文件对文件重命名 NSString *filePath2= [documentsDirectory stringByAppendingPathCom<wbr><wbr>ponent:@"file2.txt"];<br></wbr></wbr>//判断是否移动 if ([fileMgr moveItemAtPath:filePath toPath:filePath2 error:&error] != YES) NSLog(@"Unable to move file: %@", [error localizedDescription]); //显示文件目录的内容 NSLog(@"Documentsdirectory: %@", [fileMgr contentsOfDirectoryAtPat<wbr><wbr>h:documentsDirectoryerror:&error]);</wbr></wbr> |
|
<wbr><wbr></wbr></wbr>
3、删除一个文件<wbr></wbr>
这些示例能教你的,仅仅只是文件处理上的一些皮毛。想要获得更全面、详细的讲解,你就需要掌握NSFileManager文件的知识。 |
|
<wbr><wbr></wbr></wbr>
4、删除目录下所有文件<wbr></wbr>
//获取文件路径 NSString *document = [NSSearchPathForDirectori<wbr><wbr>esInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0];</wbr></wbr> NSString *path = [document stringByAppendingPathCom<wbr><wbr>ponent:@"Attchments"];</wbr></wbr>
[manager createDirectoryAtPath:path withIntermediateDirector<wbr><wbr>ies:NO attributes:nil error:nil];</wbr></wbr>
} }<wbr></wbr>
--清除附件 |
NSString<wbr>*filePath = [<span style="color:#b92e9f; word-wrap:normal; word-break:normal; line-height:21px">self</span><wbr><span style="color:#32595d; word-wrap:normal; word-break:normal; line-height:21px">dataFilePath</span>];</wbr></wbr>
if<wbr>([[</wbr>NSFileManager<wbr></wbr>defaultManager]fileExistsAtPath:filePath])<wbr></wbr>
{
<wbr><wbr>//do some thing</wbr></wbr>
}
附:
<wbr></wbr>
-(NSString<wbr>*)dataFilePath</wbr>
{
NSArray<wbr>*paths =<wbr></wbr></wbr>NSSearchPathForDirectori<wbr>esInDomains<span style="color:#000000; word-wrap:normal; word-break:normal; line-height:21px">(</span>NSDocumentDirectory<span style="color:#000000; word-wrap:normal; word-break:normal; line-height:21px">,<wbr></wbr></span>NSUserDomainMask<span style="color:#000000; word-wrap:normal; word-break:normal; line-height:21px">,<wbr></wbr></span><span style="color:#b92e9f; word-wrap:normal; word-break:normal; line-height:21px">YES</span><span style="color:#000000; word-wrap:normal; word-break:normal; line-height:21px">);</span></wbr>
NSString<wbr>*documentDirectory = [paths<wbr><span style="color:#3e217e; word-wrap:normal; word-break:normal; line-height:21px">objectAtIndex</span>:<span style="color:#2c32d3; word-wrap:normal; word-break:normal; line-height:21px">0</span>];</wbr></wbr>
return<wbr>[documentDirectory<wbr></wbr></wbr>stringByAppendingPathCom<wbr>ponent<span style="color:#000000; word-wrap:normal; word-break:normal; line-height:21px">:<span style="color:#cf2b23; word-wrap:normal; word-break:normal; line-height:normal"><span style="color:#77482e; word-wrap:normal; word-break:normal; line-height:21px">@</span>"data.plist"</span>];</span></wbr>
}
<wbr></wbr>
相关推荐
支持任意的ISO文件编号和版号编码规则,只需设定一个起始号码,系统即可自动为文件和版本编号。 低成本: 文件無紙化,可節省大量的发行成本,ISO文件管理系統使企業推動ISO文件管理、通過認證收到事半功倍之效。 ...
ISO9600文件系统-第三版,最新版本,修订日期2017年。
Linux系统采用虚拟文件系统技术(VFS)、结构采用倒立树型、VFS使Linux支持以下文件系统: EXT2: 二次扩展 EXT3: 三次扩展 SWAP: 交换文件系统 FAT、FAT32 NTFS (默认不支持,需要特定的模块) ...
linux文件系统基础知识 详细介绍Linux文件系统的知识。 文件系统类型: ext2 : 早期linux中常用的文件系统 ext3 : ext2的升级版,带日志... ReiserFS : 基于平衡树结构的文件系统 udf: 可擦写的数据光盘文件系统
详细介绍了Linux系统中的目录结构及其功用,推荐初学者进行学习阅读。
Linux支持多种文件系统,包括ext2、ext3、vfat、ntfs、iso9660、jffs、romfs和nfs等,为了对各类文件系统进行统一管理,Linux引入了虚拟文件系统VFS(Virtual File System),为各类文件系统提供一个统一的操作界面和...
openEuler内核源于Linux,Linux内核支持十多种不同类型的文件系统,比如Btrfs、JFS、ReiserFS、ext、ext2、ext3、ext4、ISO9660、XFS、Minix、MSDOS、UMSDOS、VFAT、 NTFS、HPFS、NFS、SMB、SysV、PROC等; ...
《数据结构》算法实现及解析:配合严蔚敏、吴伟民编著...本书为清华大学出版社出版、由严蔚敏和吴伟民编著的《数据结构》(C语言版)(以下简称教科书)的学习辅导书。主要内容有书中所有程序及用标准C语言改写的程序。
ISO体系文件控制程序文件 品质环境管理体系 程序文件 文件编号: FH-GP- 版 本: D 页 数: 共6页 文件名称:文件控制管理程序 修 订 履 历 版 次 文件申请单号 更 改 内 容 修订 日期 制定/签名 B/0 C/0 D/0 ZL-XD-...
最新版ISO体系文件控制程序文件 品质环境管理体系 程序文件 文件编号: FH-GP- 版 本: D 页 数: 共6页 文件名称:文件控制管理程序 修 订 履 历 版 次 文件申请单号 更 改 内 容 修订 日期 制定/签名 B/0 C/0 D/0 ...
文件描述了iso20000的体系结构,即it服务管理的标准体系。
目录 一. 制作环境的准备 2 1. 安装制作发行版的工具: 2 2. 安装Centos6.0系统 2 二. 创建定制系统(MediaCentOS 基于 CentOS6.0-64 Base server) 2 1. 光盘主要结构及文件简介 2 ... 制作ISO文件 14
STEP文件的格式在ISO 10303-21中被定义 交换结构的明码文本内码. ISO 10303-21定义了内码机制关于怎样根据指定的代表数据 明确图解,但不是明确图解。 STEP文件也叫 p21文件 并且 步物理文件. 文件扩展名 .stp 并且...
本公司规定编号的统一结构如下图所示: 文件顺序代码 文件分类代码 公司名称代码 1)公司名称代称由公司名称主体汉语拼音字母缩写组成,本公司缩写为"YH"。 2) 文件分类代码由文件名称主体汉语拼音字母缩写组成,如...
关于PNG图像文件结构的官方定义文档。注意,该文档为英文原版。
伊索姆夫 ...ISO / IEC 14496-15以ISO基本媒体文件格式传输网络抽象层(NAL)单元结构的视频框类型:“ hvc1”,“ hev1”,“ hvcC” 框类型:“ iprp”,“ ispe”,“ ipma” 作者 iki野美纪
SD卡的体系结构将在这里叙述。它定义了数据区域的逻辑结构。对于如分割数据区域的区别,第一分区有主启动记录和分区表。SD卡文件系统使用FAT文件系统(ISO/IEC 9293)并支持FAT12和FAT16文件系统格式
vs2013 ultimate iso 第1部分 共5部分 vs2013 ultimate iso 第1部分 共5部分
本文详细介绍了ISO基媒体文件格式,该格式定义在MPEG-4标准中,由MOV格式发展而来。 从物理结构来说,文件是面向对象的,各原子具有明确的层次关系; 从逻辑结构来说,文件分为不同的轨道,主要是媒体轨道和提示轨道...
这一个电子文档,介绍关于了ISO9660,对制作ISO文件参考起来很不错哦..