Top Description Methods
org.jabref.logic.layout

public Interface LayoutFormatter

Known Direct Subinterfaces
org.jabref.logic.layout.ParamLayoutFormatter
Known Direct Implementers
org.jabref.logic.layout.format.AuthorAbbreviator, org.jabref.logic.layout.format.AuthorAndsCommaReplacer, org.jabref.logic.layout.format.AuthorAndsReplacer, org.jabref.logic.layout.format.AuthorAndToSemicolonReplacer, org.jabref.logic.layout.format.AuthorFirstAbbrLastCommas, org.jabref.logic.layout.format.AuthorFirstAbbrLastOxfordCommas, org.jabref.logic.layout.format.AuthorFirstFirst, org.jabref.logic.layout.format.AuthorFirstFirstCommas, org.jabref.logic.layout.format.AuthorFirstLastCommas, org.jabref.logic.layout.format.AuthorFirstLastOxfordCommas, org.jabref.logic.layout.format.AuthorLastFirst, org.jabref.logic.layout.format.AuthorLastFirstAbbrCommas, org.jabref.logic.layout.format.AuthorLastFirstAbbreviator, org.jabref.logic.layout.format.AuthorLastFirstAbbrOxfordCommas, org.jabref.logic.layout.format.AuthorLastFirstOxfordCommas, org.jabref.logic.layout.format.AuthorLF_FF, org.jabref.logic.layout.format.AuthorLF_FFAbbr, org.jabref.logic.layout.format.AuthorNatBib, org.jabref.logic.layout.format.AuthorOrgSci, org.jabref.logic.layout.format.CompositeFormat, org.jabref.logic.layout.format.CreateBibORDFAuthors, org.jabref.logic.layout.format.CreateDocBook4Authors, org.jabref.logic.layout.format.CreateDocBook4Editors, org.jabref.logic.layout.format.CreateDocBook5Authors, org.jabref.logic.layout.format.CreateDocBook5Editors, org.jabref.logic.layout.format.CSLType, org.jabref.logic.layout.format.CurrentDate, org.jabref.logic.layout.format.DOICheck, org.jabref.logic.layout.format.DOIStrip, org.jabref.logic.layout.format.EntryTypeFormatter, org.jabref.logic.layout.format.FirstPage, org.jabref.logic.layout.format.FormatPagesForHTML, org.jabref.logic.layout.format.FormatPagesForXML, org.jabref.logic.layout.format.GetOpenOfficeType, org.jabref.logic.layout.format.HayagrivaType, org.jabref.logic.layout.format.HTMLParagraphs, org.jabref.logic.layout.format.Iso690FormatDate, org.jabref.logic.layout.format.Iso690NamesAuthors, org.jabref.logic.layout.format.JournalAbbreviator, org.jabref.logic.layout.format.LatexToUnicodeFormatter, org.jabref.logic.layout.format.MarkdownFormatter, org.jabref.logic.layout.format.NameFormatter, org.jabref.logic.layout.format.NoSpaceBetweenAbbreviations, org.jabref.logic.layout.format.NotFoundFormatter, org.jabref.logic.layout.format.Ordinal, org.jabref.logic.layout.format.RemoveBrackets, org.jabref.logic.layout.format.RemoveBracketsAddComma, org.jabref.logic.layout.format.RemoveLatexCommandsFormatter, org.jabref.logic.layout.format.RemoveTilde, org.jabref.logic.layout.format.RemoveWhitespace, org.jabref.logic.layout.format.ReplaceUnicodeLigaturesFormatter, org.jabref.logic.layout.format.ReplaceWithEscapedDoubleQuotes, org.jabref.logic.layout.format.RisKeywords, org.jabref.logic.layout.format.RisMonth, org.jabref.logic.layout.format.RTFChars, org.jabref.logic.layout.format.ShortMonthFormatter, org.jabref.logic.layout.format.ToLowerCase, org.jabref.logic.layout.format.ToUpperCase, org.jabref.logic.layout.format.XMLChars, org.jabref.logic.layout.format.AuthorLastFirstCommas, org.jabref.logic.layout.format.LastPage, org.jabref.logic.openoffice.style.OOPreFormatter, org.jabref.logic.formatter.bibtexfields.HtmlToLatexFormatter, org.jabref.logic.formatter.bibtexfields.HtmlToUnicodeFormatter, org.jabref.logic.formatter.bibtexfields.UnicodeToLatexFormatter
Annotations
@FunctionalInterface

The LayoutFormatter is used for a Filter design-pattern.

Implementing classes have to accept a String and returned a formatted version of it.

Example:

"John von Neumann" => "von Neumann, John"

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The layouted text.
format
(String
The text to layout.
fieldText
)

Failure Mode:

Formatters should be robust in the sense that they always return some relevant string.

Method Detail

formatback to summary
public String format(String fieldText)

Failure Mode:

Formatters should be robust in the sense that they always return some relevant string.

If the formatter can detect an invalid input it should return the original string otherwise it may simply return a wrong output.

Parameters
fieldText:String

The text to layout.

Returns:String

The layouted text.