org.jabref.logic.importer.fileformat.BibtexParser
| Modifier and Type | Field and Description |
|---|---|
| private final BibEntryTypesManager | |
| private final Map | |
| private final FieldWriter | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Map | |
| pack-priv static String | Returns: The display version of the field name.The name of the field. field, int indent)Get serializable version of field name with trailing spaces and the equal sign. |
| 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 | |
| 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 | |
| fieldPositions | back to summary |
|---|---|
| private final Map<Field, Range> fieldPositions | |
| 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) | |
| getFieldPositions | back to summary |
|---|---|
| public Map | |
| getFormattedFieldName | back to summary |
|---|---|
| pack-priv static String getFormattedFieldName(Field field, int indent) Get serializable version of field name with trailing spaces and the equal sign. | |
| getLengthOfLongestFieldName | back to summary |
|---|---|
| pack-priv static int getLengthOfLongestFieldName(BibEntry entry) | |
| write | back to summary |
|---|---|
| public String write(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
| |
| writeEntryType | back to summary |
|---|---|
| private void writeEntryType(BibEntry entry, BibWriter out, BibDatabaseMode bibDatabaseMode) throws IOException | |
| 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 | |