Top Description Constructors Methods
de.undercouch.citeproc.ris

public Class RISParser

extends Object
Class Inheritance
Imports
java.io.BufferedReader, .IOException, .Reader, java.util.ArrayList, .List, org.apache.commons.lang3.StringUtils

Parses RIS library files
Author
Michel Kraemer

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
handleReference(RISReferenceBuilder builder, List<String> editors, List<String> tertiaryAuthors, List<String> subsidiaryAuthors, List<String> authors, List<String> keywords, List<String> fileAttachments, List<String> notes, List<String> translatedAuthors, RISLibrary result)

public RISLibrary

Returns:

the parsed RIS library
parse
(Reader
the reader that provides the input to parse
r
)

Parses RIS library files

private RISType
parseType(String value, int lc)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

RISParserback to summary
public RISParser()

Method Detail

handleReferenceback to summary
private void handleReference(RISReferenceBuilder builder, List<String> editors, List<String> tertiaryAuthors, List<String> subsidiaryAuthors, List<String> authors, List<String> keywords, List<String> fileAttachments, List<String> notes, List<String> translatedAuthors, RISLibrary result)
parseback to summary
public RISLibrary parse(Reader r) throws IOException

Parses RIS library files

Parameters
r:Reader

the reader that provides the input to parse

Returns:RISLibrary

the parsed RIS library

Annotations
@SuppressWarnings:resource
Exceptions
IOException:
if the input could not be read
parseTypeback to summary
private RISType parseType(String value, int lc) throws IOException