- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for getContentAsStream (0.14 seconds)
-
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
try { // Return a CurlResponse with the file's content return new CurlResponse() { @Override public InputStream getContentAsStream() throws IOException { return new FileInputStream(testFile); } @Override public void close() throws IOException {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
try { // Return a CurlResponse with the file's content return new CurlResponse() { @Override public InputStream getContentAsStream() throws IOException { // Use the actual file path from the DictionaryFile return new FileInputStream(new File(file.getPath())); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
try { zos.putNextEntry(entry); try (CurlResponse response = ComponentUtil.getCurlHelper().get("/_" + v1 + "/" + v2).execute()) { CopyUtil.copy(response.getContentAsStream(), zos); } } catch (final Exception e) { logger.warn("Failed to access /_{}/{}", v1, v2, e); } } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 23K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
} } }).execute()) { try (ServletOutputStream out = response.getOutputStream(); InputStream in = curlResponse.getContentAsStream()) { response.setStatus(curlResponse.getHttpStatusCode()); writeHeaders(response); final String responseContentType = curlResponse.getHeaderValue("Content-Type");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:40 GMT 2026 - 13.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
throw new PluginException("HTTP Status " + response.getHttpStatusCode() + " : failed to get the artifact from " + url); } try (final InputStream in = response.getContentAsStream()) { CopyUtil.copy(in, ResourceUtil.getPluginPath(fileName).toFile()); } } catch (final Exception e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Mar 04 15:19:41 GMT 2026 - 25.1K bytes - Click Count (0)