Methods
fileChooserItems()
Although we inherit the WebFileSystem class for its read() method, we do not want its fancy fileChooserItems() method, with bookmarks, etc. So this version overrides that to return to the method of the grandparent class, FileSystem.
Source
has(fileObject) → {Promise}
See the documentation of the has() method in the
parent class for the definition of how this method must behave. It
implements the requirements specified there for the hierarchical list of
files defined in the myCourse
field of the app options object, as
documented at the top of this class.
Parameters
-
fileObject
Object
as documented in the FileSystem class
Returns
-
Promise
as documented in the abstract method of the parent class
Source
list(fileObject) → {Promise}
See the documentation of the list() method in the
parent class for the definition of how this method must behave. It
implements the requirements specified there for the hierarchical list of
files defined in the myCourse
field of the app options object, as
documented at the top of this class.
Parameters
-
fileObject
Object
as documented in the FileSystem class
Returns
-
Promise
as documented in the abstract method of the parent class
Source
read()
Reads files using the read() method of the parent class, with one convention of note. This class gives a file object a filename that is separate from its UID. The filename holds the title of the file, and the UID holds the URL to the file. Thus this method, when it is called with a file object, will copy the UID over top of the filename, because the parent class assumes the URL will be in the filename field.