| Modifier and Type | Field and Description |
|---|---|
| private final BibDatabaseContext | |
| private static final Pattern | |
| private static final Predicate | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | checkValue(String value)
Implements org. Algorithm: - remove everything that is in curly brackets - split the title into subtitles based on the delimiters (defined in the local variable DELIMITERS, currently . |
| databaseContext | back to summary |
|---|---|
| private final BibDatabaseContext databaseContext | |
| DELIMITERS | back to summary |
|---|---|
| private static final Pattern DELIMITERS | |
| HAS_CAPITAL_LETTERS | back to summary |
|---|---|
| private static final Predicate<String> HAS_CAPITAL_LETTERS | |
| INSIDE_CURLY_BRAKETS | back to summary |
|---|---|
| private static final Pattern INSIDE_CURLY_BRAKETS | |
| TitleChecker | back to summary |
|---|---|
| public TitleChecker(BibDatabaseContext databaseContext) | |
| checkValue | back to summary |
|---|---|
| public Optional Implements org. Algorithm: - remove everything that is in curly brackets - split the title into subtitles based on the delimiters (defined in the local variable DELIMITERS, currently . ! ? ; : [) - for each sub title: - remove trailing whitespaces - ignore first letter as this can always be written in caps - check if at least one capital letter is in the subtitle
| |