filesystem

< apis
Jump to: navigation, search

File System API

This article is Out of Date.


W3C Working Draft

Summary

The File System API simulates a local file system that web apps can navigate around. You can develop apps that can read, write, and create files and directories in a virtual, sandboxed file system. The asynchronous API methods return without blocking the calling thread. The asynchronous API doesn't give you data by returning values; instead, you have to pass a callback function. The synchronous API is intended to be used with WebWorkers.

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


API Name Summary
DirectoryEntry This interface represents a directory on a file system.

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

DirectoryEntrySync This interface represents a directory on a file system.

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

DirectoryReader This interface lets a user list files and directories in a directory.

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

DirectoryReaderSync This interface lets a user list files and directories in a directory.

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

EntriesCallback When readEntries() succeeds, this callback is made.

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

Entry An abstract interface representing entries in a file system, each of which may be a File or DirectoryEntry.

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

EntryCallback This interface is the callback used to look up Entry objects.

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

EntrySync An abstract interface representing entries in a file system, each of which may be a File or DirectoryEntry.

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

ErrorCallback When an error occurs, this callback is made.

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

FileCallback This interface is the callback used to obtain a File.

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

FileEntry This interface represents a file on a file system.

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

FileEntrySync This interface represents a file on a file system.

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

FileSystem In the File System API, a FileSystem object represents a file system. The object is the argument of a successful callback of requestFileSystem().

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

FileSystemCallback When requestFileSystem() succeeds, this callback is made.

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

FileSystemSync In the File System API, a FileSystemSync object represents a file system.

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

FileWriterCallback This interface is the callback used to create a FileWriter.

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

LocalFileSystem The LocalFileSystem interface of the File System API gives you access to a sandboxed file system. The methods are implemented by window and worker objects.

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

LocalFileSystemSync The LocalFileSystemSync interface of the File System API gives you access to a sandboxed file system. It is intended to be used with WebWorkers. The methods are implemented by worker objects.

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

MetadataCallback This interface is the callback used to look up file and directory metadata.

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

VoidCallback This interface is the generic callback used to indicate success of an asynchronous method.

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




See also

Related articles

Off-line Storage




  • File System API