- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for readAllBytes (0.15 sec)
-
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();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
build-logic-settings/UpdateDevelocityPluginVersion.java
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Sep 12 07:58:50 UTC 2024 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
return result; } } @Override public byte[] getSinkContents() throws IOException { Path file = getPath(); return java.nio.file.Files.readAllBytes(file); } } @AndroidIncompatible private static class PathCharSourceFactory extends Jdk7FileFactory implements CharSourceFactory { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
tempChecksumFile.deleteOnExit(); wagon.get(remotePath + checksumFileExtension, tempChecksumFile); byte[] bytes = Files.readAllBytes(tempChecksumFile.toPath()); String expectedChecksum = new String(bytes, StandardCharsets.UTF_8); // remove whitespaces at the end expectedChecksum = expectedChecksum.trim();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.9K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
} return result; } /** * Reads all bytes from an input stream into a byte array. Does not close the stream. * * <p><b>Java 9+ users:</b> use {@code in#readAllBytes()} instead. * * @param in the input stream to read from * @return a byte array containing all the bytes from the stream * @throws IOException if an I/O error occurs */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 29.7K bytes - Viewed (0)