llamaindexclassesClass: TextFileReaderOn this pageClass: TextFileReader Read a .txt file Extends FileReader Constructors new TextFileReader() new TextFileReader(): TextFileReader Returns TextFileReader Inherited from FileReader.constructor Methods loadData() loadData(filePath): Promise<Document<Metadata>[]> Parameters • filePath: string Returns Promise<Document<Metadata>[]> Inherited from