| Modifier and Type | Field and Description |
|---|---|
| private final BibEntryTypesManager | |
| private final FieldWriter | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static String | Returns: The display version of the field name.The name of the field. field, int indent)Get display version of an entry field. |
| pack-priv static int | |
| public String | |
| public void | |
| public void | write(BibEntry
The entry to write entry, BibWriter The writer to use out, BibDatabaseMode The database mode (bibtex or biblatex) bibDatabaseMode, Boolean Should the entry be in any case, even if no change occurred? reformat)Writes the given BibEntry using the given writer |
| private void | writeField(BibEntry
the entry to write entry, BibWriter the target of the write out, Field the field field, int indent)Write a single field, if it has any content. |
| private void | |
| private void | writeRequiredFieldsFirstRemainingFieldsSecond(BibEntry entry, BibWriter out, BibDatabaseMode bibDatabaseMode)
Writes fields in the order of requiredFields, optionalFields and other fields, but does not sort the fields. |
| private void |
| entryTypesManager | back to summary |
|---|---|
| private final BibEntryTypesManager entryTypesManager | |
| fieldWriter | back to summary |
|---|---|
| private final FieldWriter fieldWriter | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| BibEntryWriter | back to summary |
|---|---|
| public BibEntryWriter(FieldWriter fieldWriter, BibEntryTypesManager entryTypesManager) | |
| getFormattedFieldName | back to summary |
|---|---|
| pack-priv static String getFormattedFieldName(Field field, int indent) Get display version of an entry field. BibTeX is case-insensitive therefore there is no difference between: howpublished, HOWPUBLISHED, HowPublished, etc. There was a long discussion about how JabRef should write the fields. See https://github.com/JabRef/jabref/issues/116 The team decided to do the biblatex way and use lower case for the field names. | |
| getLengthOfLongestFieldName | back to summary |
|---|---|
| pack-priv static int getLengthOfLongestFieldName(BibEntry entry) | |
| serializeAll | back to summary |
|---|---|
| public String serializeAll(List<BibEntry> entries, BibDatabaseMode databaseMode) throws IOException | |
| write | back to summary |
|---|---|
| public void write(BibEntry entry, BibWriter out, BibDatabaseMode bibDatabaseMode) throws IOException | |
| write | back to summary |
|---|---|
| public void write(BibEntry entry, BibWriter out, BibDatabaseMode bibDatabaseMode, Boolean reformat) throws IOException Writes the given BibEntry using the given writer
| |
| writeField | back to summary |
|---|---|
| private void writeField(BibEntry entry, BibWriter out, Field field, int indent) throws IOException Write a single field, if it has any content.
| |
| writeKeyField | back to summary |
|---|---|
| private void writeKeyField(BibEntry entry, BibWriter out) throws IOException | |
| writeRequiredFieldsFirstRemainingFieldsSecond | back to summary |
|---|---|
| private void writeRequiredFieldsFirstRemainingFieldsSecond(BibEntry entry, BibWriter out, BibDatabaseMode bibDatabaseMode) throws IOException Writes fields in the order of requiredFields, optionalFields and other fields, but does not sort the fields. | |
| writeUserComments | back to summary |
|---|---|
| private void writeUserComments(BibEntry entry, BibWriter out) throws IOException | |