InputFile

File representation class for importers.

Constructor

new InputFile (name, source, data)
Parameters
name string
Name of the file.
source FileSource
Source of the file.
data string | File
If the file source is url, this must be the url string. If the file source is file, this must be a File object.