Top Description Constructors Methods
org.jabref.logic.crawler

public Class StudyYamlParser

extends Object
Class Inheritance
Imports
java.io.FileInputStream, .IOException, .InputStream, java.nio.file.Path, org.jabref.model.study.Study, com.fasterxml.jackson.databind.ObjectMapper, com.fasterxml.jackson.dataformat.yaml.YAMLFactory, .YAMLGenerator

Example use: new StudyYamlParser().parseStudyYamlFile(studyDefinitionFile);

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Study
parseStudyYamlFile(Path studyYamlFile)

Parses the given yaml study definition file into a study instance

public void
writeStudyYamlFile(Study study, Path studyYamlFile)

Writes the given study instance into a yaml file to the given path

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

StudyYamlParserback to summary
public StudyYamlParser()

Method Detail

parseStudyYamlFileback to summary
public Study parseStudyYamlFile(Path studyYamlFile) throws IOException

Parses the given yaml study definition file into a study instance

writeStudyYamlFileback to summary
public void writeStudyYamlFile(Study study, Path studyYamlFile) throws IOException

Writes the given study instance into a yaml file to the given path