| Modifier and Type | Class and Description |
|---|---|
| private static record |
| Modifier and Type | Field and Description |
|---|---|
| private static volatile boolean | |
| private static final Pattern | |
| private static final Set | |
| private static final String | |
| private static final String | |
| private static final String | |
| private FormatterService | |
| private static boolean | |
| private static final String | |
| private static final Logger | |
| private static final String | |
| private CliPreferences | |
| private SrvStateManager | |
| private static final Set | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private CAYWEntry | |
| private List | filterEntries(List<CAYWEntry> entries, String searchText, InMemoryLibrarySearcher searcher)
Filter strategy:
|
| private BibDatabaseContext | |
| private @Nullable InputStream | getChocolateBibAsStream()
Returns: a stream to the |
| public Response | |
| private BibDatabaseContext | |
| private InputStream | |
| private InputStream | |
| private List | |
| private synchronized void | |
| private boolean | |
| private boolean | |
| private boolean | |
| private Path | |
| private List | |
| private boolean |
| allowAllLibraryPaths | back to summary |
|---|---|
| private static volatile boolean allowAllLibraryPaths | |
| ALLOWED_COMMAND | back to summary |
|---|---|
| private static final Pattern ALLOWED_COMMAND | |
| BLOCKED_LIBRARY_PATHS | back to summary |
|---|---|
| private static final Set<Path> BLOCKED_LIBRARY_PATHS | |
| CAYW_CONTENT_SECURITY_POLICY | back to summary |
|---|---|
| private static final String CAYW_CONTENT_SECURITY_POLICY | |
| CHOCOLATEBIB_PATH | back to summary |
|---|---|
| private static final String CHOCOLATEBIB_PATH | |
| CONTENT_SECURITY_POLICY | back to summary |
|---|---|
| private static final String CONTENT_SECURITY_POLICY | |
| formatterService | back to summary |
|---|---|
| private FormatterService formatterService
| |
| initialized | back to summary |
|---|---|
| private static boolean initialized | |
| INVALID_LIBRARY_PATH_ERROR | back to summary |
|---|---|
| private static final String INVALID_LIBRARY_PATH_ERROR | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| NO_SNIFF | back to summary |
|---|---|
| private static final String NO_SNIFF | |
| preferences | back to summary |
|---|---|
| private CliPreferences preferences
| |
| srvStateManager | back to summary |
|---|---|
| private SrvStateManager srvStateManager
| |
| TRUSTED_LIBRARY_PATHS | back to summary |
|---|---|
| private static final Set<Path> TRUSTED_LIBRARY_PATHS | |
| X_CONTENT_TYPE_OPTIONS | back to summary |
|---|---|
| private static final String X_CONTENT_TYPE_OPTIONS | |
| CAYWResource | back to summary |
|---|---|
| public CAYWResource() | |
| createCAYWEntry | back to summary |
|---|---|
| private CAYWEntry createCAYWEntry(BibEntry entry) | |
| filterEntries | back to summary |
|---|---|
| private List Filter strategy:
| |
| getBibDatabaseContext | back to summary |
|---|---|
| private BibDatabaseContext getBibDatabaseContext(CAYWQueryParams queryParams) throws IOException | |
| getChocolateBibAsStream | back to summary |
|---|---|
private @Nullable InputStream getChocolateBibAsStream()
| |
| getCitation | back to summary |
|---|---|
| public Response getCitation(CAYWQueryParams queryParams) throws IOException, ExecutionException, InterruptedException | |
| getDatabaseContextFromStream | back to summary |
|---|---|
| private BibDatabaseContext getDatabaseContextFromStream(InputStream inputStream) throws IOException | |
| getDatabaseStreamFromPath | back to summary |
|---|---|
| private InputStream getDatabaseStreamFromPath(Path path) throws IOException | |
| getLatestDatabaseStream | back to summary |
|---|---|
| private InputStream getLatestDatabaseStream() throws IOException | |
| getServedLibraryPaths | back to summary |
|---|---|
| private List | |
| initializeGUI | back to summary |
|---|---|
| private synchronized void initializeGUI() | |
| isLibraryPathAccessAllowed | back to summary |
|---|---|
| private boolean isLibraryPathAccessAllowed(Path requestedLibraryPath) | |
| isServedLibraryPath | back to summary |
|---|---|
| private boolean isServedLibraryPath(Path requestedLibraryPath) | |
| matchesSubstring | back to summary |
|---|---|
| private boolean matchesSubstring(CAYWEntry entry, String searchText) | |
| normalizeLibraryPath | back to summary |
|---|---|
| private Path normalizeLibraryPath(String libraryPath) | |
| openSearchGui | back to summary |
|---|---|
| private List | |
| promptForLibraryPathAccess | back to summary |
|---|---|
| private boolean promptForLibraryPathAccess(Path requestedLibraryPath) | |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | dontAskAgain
Record Component accessed by dontAskAgain(). |
| private final ButtonType | selectedButton
Record Component accessed by selectedButton(). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public ButtonType | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| dontAskAgain | back to summary |
|---|---|
| private final boolean dontAskAgain Record Component accessed by dontAskAgain(). | |
| selectedButton | back to summary |
|---|---|
| private final ButtonType selectedButton Record Component accessed by selectedButton(). | |
| LibraryPathAccessPromptResult | back to summary |
|---|---|
| private LibraryPathAccessPromptResult(ButtonType selectedButton, boolean dontAskAgain) | |
| dontAskAgain | back to summary |
|---|---|
| public boolean dontAskAgain() Record Component getter of dontAskAgain. | |
| 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).
| |
| 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 | |
| selectedButton | back to summary |
|---|---|
| public ButtonType selectedButton() Record Component getter of selectedButton. | |
| 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. | |