Saltar al contenido principal

Class: TextFileReader

Read a .txt file

Implements

Constructors

new TextFileReader()

new TextFileReader(): TextFileReader

Returns

TextFileReader

Methods

loadData()

loadData(file, fs): Promise <Document <Metadata>[]>

Parameters

file: string

fs: CompleteFileSystem= defaultFS

Returns

Promise <Document <Metadata>[]>

Implementation of

BaseReader . loadData

Source

packages/core/src/readers/TextFileReader.ts:11