processToStream

fun processToStream(reader: Reader, dispatchers: DispatcherProvider = DefaultDispatcherProvider): Stream<RisRecord>

Converts the RISFile lines provided by the reader into a stream of RisRecords. May throw an IOException if the reader fails to deliver lines or a KRisException if the lines cannot be parsed successfully.


fun processToStream(file: File, dispatchers: DispatcherProvider = DefaultDispatcherProvider): Stream<RisRecord>

Converts the RISFile lines in the provided File into a stream of RisRecords. May throw an IOException if the file cannot be read successfully. or a KRisException if the lines cannot be parsed successfully.


fun processToStream(filePath: String, dispatchers: DispatcherProvider = DefaultDispatcherProvider): Stream<RisRecord>

Converts the RISFile lines from the file with the provided path into a stream of RisRecords. May throw an IOException if the file cannot be read successfully. or a KRisException if the lines cannot be parsed successfully.


fun processToStream(inputStream: InputStream, dispatchers: DispatcherProvider = DefaultDispatcherProvider): Stream<RisRecord>

Converts the RISFile lines provided by the InputStream into a stream of RisRecords. May throw an IOException if the stream cannot be read successfully. or a KRisException if the lines cannot be parsed successfully.