软件、硬件定制开发,联系QQ:99605319

本文由 资源共享网 – admin 发布,转载请注明出处,如有问题请联系我们!javascript文件对象 javascript File object 英文pdf文_前端开发教程

资源语言: 中文

资源名称: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

 

资源截图:

1.png


其它前端教程资源(javascript文件对象 javascript File object 英文pdf文_前端开发教程)网址:https://www.08i8.com/ttqdzy/detail16136.html;转载请注明!


提示:
1、资源共享网(www.08i8.com)其它前端教程资源《javascript文件对象 javascript File object 英文pdf文_前端开发教程》仅供研究学习请勿商用!
2、如果发现本资源违法或侵权请【报告管理员】
3、您所看到的所有资源都是网友分享,资源共享网(www.08i8.com)无法保证都能正常下载使用,
4、如果您发现资源无法下载或无法使用请【报告管理员】,管理员会联系资源发布者补充新资源!
5、如果暂时无法补充新资源,【只退积分!不退款!
6、关注微信公众号:《国资互联联盟》 不迷路!

标签

与《javascript文件对象 javascript File object 英文pdf文_前端开发教程》相关的《经验教程》

admin
admin

0

0

0

( 此人很懒并没有留下什么~~ )
img

javascript文件对象 javascript File object 英文pdf文_前端开发教程

下载积分 钻石会员
4 免费
请您 登录后 下载 !
说明

您下载所消耗的积分将转交上传作者。上传资源,免费获取积分!


首页

栏目

搜索

会员