Constructor
new FileSystemFileEntry()
- Source:
- See:
Methods
createWriter(successCallback, errorCallbackopt) → {void}
Creates a new FileWriter object which allows writing to the file represented by the file system entry.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
successCallback |
webdav.FileWriterCallback | A callback function which is called when the webdav.FileWriter has been created successfully; the webdav.FileWriter is passed into the callback as the only parameter. |
|
errorCallback |
external:ErrorCallback |
<optional> |
If provided, this must be a method which is caled when an error occurs while trying to create the webdav.FileWriter. This callback receives as input a external:DOMException object describing the error. |
- Source:
- See:
Returns:
- Type
- void
file(successCallback, errorCallbackopt) → {void}
Creates a new File object which can be used to read the file.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
successCallback |
external:FileCallback | A callback function which is called when the external:File has been created successfully; the external:File is passed into the callback as the only parameter. |
|
errorCallback |
external:ErrorCallback |
<optional> |
If provided, this must be a method which is caled when an error occurs while trying to create the external:File. This callback receives as input a external:DOMException object describing the error. |
- Source:
- See:
Returns:
- Type
- void