from

fun from(cslStyleName: String, input: InputStream, filename: String, locale: Locale? = null): CslBibliographyStyle

Reads a bibliography file and creates a CslBibliographyStyle. Supports BibTeX (.bib), CSL JSON, YAML, EndNote, and RIS formats.

Return

a new CslBibliographyStyle

Parameters

cslStyleName

the CSL style identifier

input

the input stream for the bibliography source

filename

the filename hint for format detection

locale

optional Locale for localized terms (e.g. "and"/"und", month names). When null, the style's default locale is used