accept

fun Writer.accept(records: List<RisRecord>, sort: List<String> = emptyList(), dispatchers: DispatcherProvider = DefaultDispatcherProvider)

Converts a list of RisRecords into a list of Strings in RIS file format, dumping them into the Writer provided as receiver. Optionally accepts a list of names of RisTags defining a sort order for the RisTags in the file.


fun File.accept(records: List<RisRecord>, sort: List<String> = emptyList(), dispatchers: DispatcherProvider = DefaultDispatcherProvider)

Converts a list of RisRecords into a list of Strings in RIS file format, writing them into the File provided as receiver. Optionally accepts a list of names of RisTags defining a sort order for the RisTags in the file.


fun OutputStream.accept(records: List<RisRecord>, sort: List<String> = emptyList(), dispatchers: DispatcherProvider = DefaultDispatcherProvider)

Converts a list of RisRecords into a list of Strings in RIS file format, writing them into the OutputStream provided as receiver. Optionally accepts a list of names of RisTags defining a sort order for the RisTags in the file.


fun String.accept(records: List<RisRecord>, sort: List<String> = emptyList(), dispatchers: DispatcherProvider = DefaultDispatcherProvider)

Converts a list of RisRecords into a list of Strings in RIS file format, writing them into file with the path provided as the receiver, if possible. Optionally accepts a list of names of RisTags defining a sort order for the RisTags in the file.