- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for readAllBytes (0.19 seconds)
-
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
} } /** * Test that resource content is properly read using readAllBytes. * Verifies that the new implementation correctly reads entire resource content. */ @Test public void testResourceReading_readAllBytesCorrectness() throws Exception { // Read using the new method (readAllBytes) String contentNew;Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 9.6K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java
.forEach(k -> processBuilder.environment().remove(k)); Process process = processBuilder.start(); process.waitFor(); return new String(process.getInputStream().readAllBytes()); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Apr 13 18:50:07 GMT 2025 - 3.4K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java
Artifact artifact = createArtifact("artifact", "1.0"); File file = new File(artifactBasedir, "artifact-1.0.jar"); assertEquals("dummy", new String(Files.readAllBytes(file.toPath()), StandardCharsets.UTF_8).trim()); artifactDeployer.deploy(file, artifact, remoteRepository(), localRepository()); ArtifactRepository remoteRepository = remoteRepository();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.9K bytes - Click Count (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
// Update sitemaps.xml final File sitemapsXmlFile = new File(docRoot, "sitemaps.xml"); if (sitemapsXmlFile.exists()) { String content = new String(java.nio.file.Files.readAllBytes(sitemapsXmlFile.toPath()), "UTF-8"); content = content.replaceAll("localhost:\\d+", "localhost:" + actualPort); java.nio.file.Files.write(sitemapsXmlFile.toPath(), content.getBytes("UTF-8"));Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 15 01:11:43 GMT 2026 - 8.1K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
Files.writeString(testFile, content); Source source = Sources.fromPath(testFile); try (InputStream inputStream = source.openStream()) { String readContent = new String(inputStream.readAllBytes()); assertEquals(content, readContent); } } @Test void testNullHandling() { assertThrows(NullPointerException.class, () -> Sources.fromPath(null));
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 4.8K bytes - Click Count (0)