您现在的位置是:网站首页> 软件下载软件下载
javascript文件对象 javascript File object 英文pdf_前端开发教程
2021-12-05
225人已围观
简介 javascript文件对象 javascript File object 英文pdf_前端开发教程
资源名称:Javascript文件对象 Javascript File Object 英文pdf
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
资源截图:

相关内容
点击排行
- 文香传屏接收端下载 文香传屏接收端 v1.0.6.1 官方安装版 下载-
- 背单词工具下载 自定义单词卡片 v1.2 免费绿色版 下载-
- 奇怪网课助手下载 奇怪网课助手(课堂辅导工具) v1.0.1.3 免费安装版 下载-
- 雨课堂下载 长江雨课堂电脑版 v6.0.2.6672 官方经典版(附使用教程) 下载-
- 雨课堂下载 长江雨课堂电脑版 v5.1.0 官方尝鲜版(附使用教程) 下载-
- 幼儿园管理工具下载 优易幼儿园经营管理系统 v2.5 官方安装版 下载-
- 教学助手下载 互联教学助手 V5.2.5.0 官方安装版 下载-
- 一级WPS Office考试系统下载 无忧考吧一级计算机基础及WPS office应用超级模拟软件 V2023.3 官方安装版 下载-


