Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for readAllBytes (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/curl/io/ContentCache.java

         */
        public byte[] getContentAsBytes() throws IOException {
            if (data != null) {
                return data.clone();
            }
            return Files.readAllBytes(file.toPath());
        }
    
        @Override
        public void close() throws IOException {
            if (file != null) {
                Files.delete(file.toPath());
            }
        }
    
        /**
    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)
Back to Top