- 资源介绍
资源名称:Javascript文件对象 Javascript File Object 英文pdf文字版
内容简介:
avascript文件对象 Javascript File Object 主要是介绍了javascript中文件的一些操作,学习js操作文件的朋友可以看下。
Javascript File and Folder classes
To create a File or Folder object, use the corresponding File() and Folder() functions. You can also create them with the new operator if you like; both ways of calling File() or Folder() return a new object. The constructor accepts full or partial path
names. In any case, the path stored internally is an absolute, full path name, so a File or Folder object, once created, always points to a fixed location of the disk. If you do not supply a file or folder name, a temporary name is generated.
The Folder object supports file system functionality like walking directories, creating, renaming or removing files, or resolving file aliases. The File supports I/O functions to read or write files. Programmers implementing the object can choose to limit the functionality of the object by setting a combination of security flags.
File and Folder objects can be used at any place where a path name is required; its conversion to a string (the toString() method) returns the name as supplied to the constructor. If you need the operating system specific file name, use the fsName property.
When you create two File objects that refer to the same disk file, they are treated as distinct objects. If you open one of the File objects for I/O, the operating system may inhibit access to the opened File object from the other File object.
There are several methods to distinguish between a File and a Folder
资源截图:
猜你喜欢
-
HTML+CSS网页设计与布局从入门到精通(书+源码)_前端开发教程
2020-07-23 -
HTML5与CSS3实战指南_前端开发教程
2020-07-22 -
jQuery基础教程 jQuery选择器教程 pdf_前端开发教程
2020-07-21 -
单页Web应用:Ja vaSc ript从前端到后端_前端开发教程
2020-07-22 -
ja<x>vasc<x>ript引擎工作原理_前端开发教程
2020-07-21 -
Backbone.js应用程序开发 中文pdf_前端开发教程
2020-07-21 -
Spring Web Flow权威指南 中文pdf_前端开发教程
2020-07-21 -
韩顺平xm<x>l(第二版)视频教程(共21讲)_前端开发教程
2020-07-23 -
Angular 权威教程(第2版)+随书代码_前端开发教程
2020-07-23 -
jQuery Ajax应用解析 中文WORD版_前端开发教程
2020-07-21
-
深入浅出之javascript脚本编程视频【50集】_前端开发教程
2020-07-23 -
尚硅谷公开课第20季-HTML5特效实战_前端开发教程
2020-07-23 -
Jquery Datagrid动态分页以及CRUD(增删改查) 中文WORD版_前端开发教程
2020-07-21 -
jQuery视觉手册_前端开发教程
2020-07-21 -
Ajax实战 实例详解 PDF_前端开发教程
2020-07-21 -
无懈可击的web设计第二版 中文pdf_前端开发教程
2020-07-21 -
尚硅谷公开课第37季-模块化打包神器–webpack_前端开发教程
2020-07-23 -
前端 IoC 理念入门 中文_前端开发教程
2020-07-21 -
跨终端Web (徐凯) PDF_前端开发教程
2020-07-21 -
ExtJS 经典快速入门指南 中文PDF_前端开发教程
2020-07-21
猜你在找
2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系管理员处理!
6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
源码资源库 » javascript文件对象 javascript File object 英文pdf文_前端开发教程