Verified Owner
Top Description Fields Constructors Methods
org.jabref.logic.journals.ltwa

public Class LtwaTsvParser

extends Object
Class Inheritance
Imports
java.io.BufferedReader, .IOException, java.nio.charset.StandardCharsets, java.nio.file.Files, .Path, java.util.ArrayList, .Arrays, .List, .Optional, java.util.regex.Matcher, .Pattern

Parser for the LTWA (List of Title Word Abbreviations) CSV file. Converts CSV data into a list of LtwaEntry objects.

Field Summary

Modifier and TypeField and Description
private static final Pattern
private final Path
private static final Pattern
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<LtwaEntry>

Returns:

List of LtwaEntry objects
parse
()

Parse LTWA entries from the given file.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ANNOTATIONback to summary
private static final Pattern ANNOTATION
fileback to summary
private final Path file
LINE_FORMATback to summary
private static final Pattern LINE_FORMAT
NO_ABBREVIATIONback to summary
private static final String NO_ABBREVIATION

Constructor Detail

LtwaTsvParserback to summary
public LtwaTsvParser(Path file)

Method Detail

parseback to summary
public List<LtwaEntry> parse() throws IOException

Parse LTWA entries from the given file.

Returns:List<LtwaEntry>

List of LtwaEntry objects

Exceptions
IOException:
If an I/O error occurs