- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Bytes (0.43 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java
// NOTE: There's java.nio.charset.MalformedInputException and sun.io.MalformedInputException if (e.getClass().getName().endsWith("MalformedInputException")) { msg = "Some input bytes do not match the file encoding."; } else { msg = e.getClass().getSimpleName(); } } problems.add( Severity.FATAL,
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri May 03 08:48:38 GMT 2024 - 61.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java
public Optional<String> getString(URI relativeSource, Charset charset) { requireNonNull(charset, "charset is null"); Optional<byte[]> data = getBytes(relativeSource); return data.map(bytes -> new String(bytes, charset)); } @Override public void put(Path source, URI relativeTarget) { requireNonNull(source, "source is null"); requireNonNull(relativeTarget, "relativeTarget is null");
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 5.3K bytes - Viewed (0)