This page is Out of Date

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

file

Summary

Returns a File that represents the current state of the file that this FileEntry represents.

Out of date; feature discontinued. See http://www.w3.org/TR/file-system-api.

Method of apis/filesystem/FileEntryapis/filesystem/FileEntry

Syntax

 FileEntry.file(successCallback, errorCallback);

Parameters

successCallback

Data-type
String

A callback that is called with the File.

errorCallback

Data-type
String

(Optional)

A callback that is called when errors happen.

Return Value

No return value

Related specifications

W3C File API: Directories and System Specification
W3C Working Draft