Class TextFileLoader

Hierarchy

  • TextFileLoader

Constructors

Methods

Constructors

Methods

  • Loads a text file located at the specified filename

    Returns

    The TextFile object containing the loaded file's data

    Parameters

    • filename: string

      The path to the text file to be loaded

    • callback: null | ((loadedFile: TextFile) => void) = null

      An optional callback function to be invoked when the file is loaded

    Returns TextFile

Generated using TypeDoc