| Modifier and Type | Field and Description |
|---|---|
| public static final char | |
| private static final char | |
| private static final char | |
| private static final Logger | |
| private final boolean | |
| private final FieldPreferences |
| Access | Constructor and Description |
|---|---|
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static FieldWriter | |
| private static void | |
| private String | formatAndResolveStrings(String content, Field field)
This method handles # in the field content to get valid bibtex strings
For instance, |
| private String | |
| private static int | getFirstOccurrenceOfStartEndSymbol(String content, int pivot)
Finds the first occurrence of # from the pivot point |
| private boolean | |
| public String | |
| private void | writeStringLabel(StringBuilder
the StringBuilder to append the text to stringBuilder, String the text use as basis to get the text to append text, int the position in text where the text to add starts startPos, int the position in text where the text to add ends endPos, boolean true if the label to write is the first one to write isFirst, boolean true if the label to write is the last one to write isLast)
|
| private void | writeText(StringBuilder
the StringBuilder to append the text to stringBuilder, String the text to append text, int startPos, int endPos)
|
| BIBTEX_STRING_START_END_SYMBOL | back to summary |
|---|---|
| public static final char BIBTEX_STRING_START_END_SYMBOL | |
| FIELD_END | back to summary |
|---|---|
| private static final char FIELD_END | |
| FIELD_START | back to summary |
|---|---|
| private static final char FIELD_START | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| neverFailOnHashes | back to summary |
|---|---|
| private final boolean neverFailOnHashes | |
| preferences | back to summary |
|---|---|
| private final FieldPreferences preferences | |
| FieldWriter | back to summary |
|---|---|
| public FieldWriter(FieldPreferences preferences) | |
| FieldWriter | back to summary |
|---|---|
| private FieldWriter(boolean neverFailOnHashes, FieldPreferences preferences) | |
| buildIgnoreHashes | back to summary |
|---|---|
| public static FieldWriter buildIgnoreHashes(FieldPreferences prefs) | |
| checkBraces | back to summary |
|---|---|
| private static void checkBraces(String text) throws InvalidFieldValueException | |
| formatAndResolveStrings | back to summary |
|---|---|
| private String formatAndResolveStrings(String content, Field field) throws InvalidFieldValueException This method handles # in the field content to get valid bibtex strings
For instance, | |
| formatWithoutResolvingStrings | back to summary |
|---|---|
| private String formatWithoutResolvingStrings(String content, Field field) throws InvalidFieldValueException | |
| getFirstOccurrenceOfStartEndSymbol | back to summary |
|---|---|
| private static int getFirstOccurrenceOfStartEndSymbol(String content, int pivot) Finds the first occurrence of # from the pivot point | |
| shouldResolveStrings | back to summary |
|---|---|
| private boolean shouldResolveStrings(Field field) | |
| write | back to summary |
|---|---|
| public String write(Field field, String content) throws InvalidFieldValueException Formats the content of a field.
| |
| writeStringLabel | back to summary |
|---|---|
private void writeStringLabel(StringBuilder stringBuilder, String text, int startPos, int endPos, boolean isFirst, boolean isLast)
| |
| writeText | back to summary |
|---|---|
private void writeText(StringBuilder stringBuilder, String text, int startPos, int endPos)
| |