最新公告
  • 本站一直秉承服务宗旨:履行“站长”责任,销售只是起点 服务永无止境!”的经营理念立即加入
  • javascript文件对象 javascript File object 英文pdf_前端开发教程

    资源名称:Javascript文件对象 Javascript File Object 英文pdf

     

    To create a File or Folder object, use the corresponding File() and Folder() functiоns. 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 functiоnality like walking directories, creating, renaming or removing files, or resolving file aliases. The File supports I/O functiоns to read or write files. Programmers implementing the object can choose to limit the functiоnality 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

     

    资源截图:

    javascript文件对象 javascript File object 英文pdf_前端开发教程插图

    猜你在找

    1. 本站所有资源来源于用户上传和网络,如有侵权请邮件联系站长!
    2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
    3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
    4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
    5. 如有链接无法下载、失效或广告,请联系管理员处理!
    6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
    7. 如有侵权麻烦联系邮箱2697381891@qq.com删除文章!

    源码库 » javascript文件对象 javascript File object 英文pdf_前端开发教程
    • 3044会员总数(位)
    • 37766资源总数(个)
    • 0本周发布(个)
    • 0 今日发布(个)
    • 1193稳定运行(天)

    提供最优质的资源集合

    立即查看 了解详情