org.jabref.logic.cleanup.Formatter .
| Modifier and Type | Field and Description |
|---|---|
| private final FieldPreferences | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | Returns: the formatted field content.the content to format. fieldContent, Field the name of the bibtex field field)Performs the reformatting of a field content. |
| preferences | back to summary |
|---|---|
| private final FieldPreferences preferences | |
| WHITESPACE | back to summary |
|---|---|
| private static final Pattern WHITESPACE | |
| NormalizeWhitespaceFormatter | back to summary |
|---|---|
| public NormalizeWhitespaceFormatter(FieldPreferences preferences) | |
| format | back to summary |
|---|---|
| public String format(String fieldContent, Field field) Performs the reformatting of a field content. Note that "field content" is either with enclosing {}.
When outputting something which is using strings, the parts of the plain string are passed (without enclosing {}).
For instance, for | |
| format | back to summary |
|---|---|
| public String format(StringBuilder fieldContent, Field field) Performs the reformatting of a field content. Note that "field content" is understood as
the value in BibTeX's key/value pairs of content. For instance,
| |