- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 70 for getInputStream (0.13 sec)
-
src/main/java/org/codelibs/curl/CurlResponse.java
} else { throw new CurlException("The content does not exist."); } } return contentCache.getInputStream(); } public void setContentCache(final ContentCache contentCache) { this.contentCache = contentCache; } public int getHttpStatusCode() { return httpStatusCode; }
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 4K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileOperationsTest.java
assertTrue(f.exists()); assertEquals(f.length(), t.length()); assertEquals(f.getAttributes(), t.getAttributes()); try ( InputStream is = t.getInputStream() ) { ReadWriteTest.verifyRandom(bufSize, length, is); } } finally { d1.delete(); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:17:59 UTC 2023 - 16.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java
throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL)); return null; }); try (InputStream inputStream = form.protwordsFile.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/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java
throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL)); return null; }); try (InputStream inputStream = form.kuromojiFile.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.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.9K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java
class StringSourceTest { @Test void testGetInputStream() throws Exception { StringSource source = new StringSource("Hello World!"); try (InputStream is = source.getInputStream(); Scanner scanner = new Scanner(is)) { assertEquals("Hello World!", scanner.nextLine()); } } @Test void testGetLocation() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java
return null; } @Override public InputStream openStream() throws IOException { return source.getInputStream(); } @Override public String getLocation() { return source.getLocation(); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
* @return 指定されたJarファイルエントリの内容を読み込むための入力ストリーム */ public static InputStream getInputStream(final JarFile file, final ZipEntry entry) { assertArgumentNotNull("file", file); assertArgumentNotNull("entry", entry); try { return file.getInputStream(entry); } catch (final IOException e) { throw new IORuntimeException(e); } }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/zip/ZipFileUtil.java
* @return 指定されたZipファイルエントリの内容を読み込むための入力ストリーム */ public static InputStream getInputStream(final ZipFile file, final ZipEntry entry) { assertArgumentNotNull("file", file); assertArgumentNotNull("entry", entry); try { return file.getInputStream(entry); } catch (final IOException e) { throw new IORuntimeException(e); } }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.1K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java
* * @return A byte stream to the source contents, never {@code null}. * @throws IOException in case of IO issue */ InputStream getInputStream() throws IOException; /** * Provides a user-friendly hint about the location of the source. This could be a local file path, a URI or just an
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0)