| Modifier and Type | Field and Description |
|---|---|
| private static final List | CATALOG_KEYS
Keys written by |
| private static final String | |
| public static final String | |
| private static final CitationStyle | EMPTY_STYLE
Placeholder returned when even the default style cannot be loaded. |
| private static final List | |
| private static final List | |
| private static final Logger | |
| private final OpenOfficePreferences | openOfficePreferences
Record Component accessed by openOfficePreferences(). |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| pack-priv static List | |
| public static CitationStyle | getDefaultStyle()
Returns the default citation style which is currently set to |
| public static List | |
| public static List | |
| public final int | |
| private void | |
| public static void | loadInternalStyles()
Loads the internal (built-in) CSL styles from the catalog generated at build-time. |
| private static String | |
| public OpenOfficePreferences | |
| public boolean | Returns: true if the style was removed, false otherwiseRemoves a style from the external styles list. |
| private void | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| CATALOG_KEYS | back to summary |
|---|---|
| private static final List<String> CATALOG_KEYS Keys written by | |
| CATALOG_PATH | back to summary |
|---|---|
| private static final String CATALOG_PATH | |
| DEFAULT_STYLE | back to summary |
|---|---|
| public static final String DEFAULT_STYLE | |
| EMPTY_STYLE | back to summary |
|---|---|
| private static final CitationStyle EMPTY_STYLE Placeholder returned when even the default style cannot be loaded. Not backed by a CSL source. | |
| EXTERNAL_STYLES | back to summary |
|---|---|
| private static final List<CitationStyle> EXTERNAL_STYLES | |
| INTERNAL_STYLES | back to summary |
|---|---|
| private static final List<CitationStyle> INTERNAL_STYLES | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| openOfficePreferences | back to summary |
|---|---|
| private final OpenOfficePreferences openOfficePreferences Record Component accessed by openOfficePreferences(). | |
| STYLES_ROOT | back to summary |
|---|---|
| private static final String STYLES_ROOT | |
| CSLStyleLoader | back to summary |
|---|---|
| public CSLStyleLoader(@NonNull OpenOfficePreferences openOfficePreferences) | |
| addExternalStyle | back to summary |
|---|---|
| public void addExternalStyle(@NonNull CitationStyle citationStyle) Adds a new external CSL style. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| findMissingCatalogKeys | back to summary |
|---|---|
| pack-priv static List | |
| getDefaultStyle | back to summary |
|---|---|
| public static CitationStyle getDefaultStyle() Returns the default citation style which is currently set to | |
| getInternalStyles | back to summary |
|---|---|
| public static List | |
| getStyles | back to summary |
|---|---|
| public static List Returns a list of all available citation styles (both internal and external). | |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| loadExternalStyles | back to summary |
|---|---|
| private void loadExternalStyles() Loads external CSL styles from the preferences. | |
| loadInternalStyles | back to summary |
|---|---|
| public static void loadInternalStyles() Loads the internal (built-in) CSL styles from the catalog generated at build-time. | |
| loadInternalStyleSource | back to summary |
|---|---|
| private static String loadInternalStyleSource(String path) | |
| openOfficePreferences | back to summary |
|---|---|
| public OpenOfficePreferences openOfficePreferences() Record Component getter of openOfficePreferences. | |
| removeStyle | back to summary |
|---|---|
| public boolean removeStyle(@NonNull CitationStyle style) Removes a style from the external styles list.
| |
| storeExternalStyles | back to summary |
|---|---|
| private void storeExternalStyles() Stores the current list of external styles to preferences. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |