export

fun export(records: List<RisRecord>, sort: List<String> = emptyList(), writer: Writer)

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


fun export(records: List<RisRecord>, sort: List<String> = emptyList(), file: File)

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


fun export(records: List<RisRecord>, sort: List<String> = emptyList(), out: OutputStream)

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


fun export(records: List<RisRecord>, sort: List<String> = emptyList(), filePath: String)

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