- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getContentResponse (0.12 sec)
-
src/main/java/org/codelibs/fess/dict/DictionaryManager.java
} }).orElse(() -> { throw new DictionaryException(dictFile.getPath() + " does not exist."); }); } public CurlResponse getContentResponse(final DictionaryFile<? extends DictionaryItem> dictFile) { return ComponentUtil.getCurlHelper().get("/_configsync/file").param("path", dictFile.getPath()).execute(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryFile.java
this.dictionaryManager = dictionaryManager; return this; } public void writeOut(final WrittenStreamOut out) throws IOException { try (final CurlResponse curlResponse = dictionaryManager.getContentResponse(this); final InputStream inputStream = new BufferedInputStream(curlResponse.getContentAsStream())) { out.write(inputStream); } } public abstract String getType();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
reload(updater); } } protected void reload(final KuromojiUpdater updater) { try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) { reload(updater, curlResponse.getContentAsStream()); } catch (final IOException e) { throw new DictionaryException("Failed to parse " + path, e); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
reload(updater); } } protected void reload(final ProtwordsUpdater updater) { try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) { reload(updater, curlResponse.getContentAsStream()); } catch (final IOException e) { throw new DictionaryException("Failed to parse " + path, e); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java
reload(updater); } } protected void reload(final SynonymUpdater updater) { try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) { reload(updater, curlResponse.getContentAsStream()); } catch (final IOException e) { throw new DictionaryException("Failed to parse " + path, e); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.6K bytes - Viewed (0)