toRisRecords

fun Flow<String>.toRisRecords(): Flow<RisRecord>

Converts a flow of Strings (representing lines in a RIS file) (as receiver) into a flow of RisRecords. May throw a KRisException if the line flow cannot be parsed successfully.


Converts a list of Strings (representing lines in a RIS file) (as receiver) itno a list of RisRecords. May throw a KRisException if the line list of Strings cannot be parsed successfully.


fun Sequence<String>.toRisRecords(scope: CoroutineScope = GlobalScope): Sequence<RisRecord>

Converts a sequence of Strings (representing lines in a RIS file) (as receiver) into a sequence of RisRecords in a blocking manner. May throw a KRisException if the line flow cannot be parsed successfully.