- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 70 for getInputStream (0.1 sec)
-
src/main/java/jcifs/smb1/smb1/TestLocking.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java
throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadStopwordsFile(GLOBAL)); return null; }); try (InputStream inputStream = form.stopwordsFile.getInputStream()) { file.update(inputStream); } catch (final IOException e) { logger.warn("Failed to process a request.", e);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
if (GZIP.equals(con.getContentEncoding())) { return new GZIPInputStream(con.getInputStream()); } else { return con.getInputStream(); } } else if ("head".equalsIgnoreCase(con.getRequestMethod())) {
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Sun Feb 12 12:21:25 UTC 2023 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
verifyToken(() -> uploadpage(form.dictId)); return stopwordsService.getStopwordsFile(form.dictId).map(file -> { try (InputStream inputStream = form.stopwordsFile.getInputStream()) { file.update(inputStream); } catch (final IOException e) { logger.warn("Failed to process a request.", e);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 16.7K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
// Do Nothing } @Override public int getResponseCode() throws IOException { return 200; } @Override public InputStream getInputStream() throws IOException { return new ByteArrayInputStream(new byte[100]); // dummy payload } } @Test public void test_TmpFileHasBeenDeletedAfterResponseWasClosed() throws Exception {
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java
final File tempFile = ComponentUtil.getSystemHelper().createTempFile("tmp-adminplugin-", ".jar"); try (final InputStream is = form.jarFile.getInputStream(); final OutputStream os = new FileOutputStream(tempFile)) { CopyUtil.copy(is, os); } catch (final Exception e) { if (tempFile.exists() && !tempFile.delete()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java
validateApi(body, messages -> {}); CommonPoolUtil.execute(() -> { try (Reader reader = new BufferedReader(new InputStreamReader(body.badWordFile.getInputStream(), getCsvEncoding()))) { badWordService.importCsv(reader); suggestHelper.storeAllBadWords(false); } catch (final Exception e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt
synchronized(this) { if (executor.isShutdown) { socket.close() return } } val outputStream = socket.getOutputStream() val inputStream = socket.getInputStream() val reader = Http2Reader(inputStream.source().buffer(), client) val outFramesIterator: Iterator<OutFrame> = outFrames.iterator() val outBytes = bytesOut.readByteArray() var nextOutFrame: OutFrame? = null
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 8.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
private final Source source; SourceWrapper(Source source) { this.source = source; } @Override public InputStream getInputStream() throws IOException { return source.openStream(); } @Override public String getLocation() { return source.getLocation(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
final Process process = jobProcess.getProcess(); new Thread(() -> { try { CloseableUtil.closeQuietly(process.getInputStream()); } catch (final Exception e) { logger.warn("Could not close a process input stream.", e); } finally { latch.countDown(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 6.4K bytes - Viewed (0)