Top Description Fields Constructors Methods
org.jabref.logic.layout

public final Class TextBasedPreviewLayout

extends Object
implements PreviewLayout
Class Inheritance
All Implemented Interfaces
org.jabref.logic.preview.PreviewLayout
Imports
java.io.IOException, .StringReader, org.jabref.logic.journals.JournalAbbreviationRepository, org.jabref.logic.l10n.Localization, org.jabref.logic.preview.PreviewLayout, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, org.slf4j.Logger, .LoggerFactory

Implements the preview based JabRef's Custom export filters.

Field Summary

Modifier and TypeField and Description
private JournalAbbreviationRepository
private Layout
private LayoutFormatterPreferences
private static final Logger
public static final String
private String

Constructor Summary

AccessConstructor and Description
public
TextBasedPreviewLayout(String text, LayoutFormatterPreferences layoutFormatterPreferences, JournalAbbreviationRepository abbreviationRepository)

public

Method Summary

Modifier and TypeMethod and Description
public String
public String
public String
public String
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

abbreviationRepositoryback to summary
private JournalAbbreviationRepository abbreviationRepository
layoutback to summary
private Layout layout
layoutFormatterPreferencesback to summary
private LayoutFormatterPreferences layoutFormatterPreferences
LOGGERback to summary
private static final Logger LOGGER
NAMEback to summary
public static final String NAME
textback to summary
private String text

Constructor Detail

TextBasedPreviewLayoutback to summary
public TextBasedPreviewLayout(String text, LayoutFormatterPreferences layoutFormatterPreferences, JournalAbbreviationRepository abbreviationRepository)
TextBasedPreviewLayoutback to summary
public TextBasedPreviewLayout(Layout layout)

Method Detail

generatePreviewback to summary
public String generatePreview(BibEntry entry, BibDatabaseContext databaseContext)

Implements org.jabref.logic.preview.PreviewLayout.generatePreview.

Annotations
@Override
getDisplayNameback to summary
public String getDisplayName()

Implements org.jabref.logic.preview.PreviewLayout.getDisplayName.

Annotations
@Override
getNameback to summary
public String getName()

Implements org.jabref.logic.preview.PreviewLayout.getName.

Annotations
@Override
getTextback to summary
public String getText()

Implements org.jabref.logic.preview.PreviewLayout.getText.

Annotations
@Override
setTextback to summary
public void setText(String text)