- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 856 for IOException (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java
* under the License. */ package org.apache.maven.model.io; import javax.inject.Named; import javax.inject.Singleton; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Writer; import java.util.Map; import java.util.Objects; import org.apache.maven.model.Model;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 2.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java
@Override public Metadata read(File input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null"); return read(Files.newInputStream(input.toPath()), options); } @Override public Metadata read(Reader input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.9K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharStreams.java
* * @param from the object to read from * @param to the object to write to * @return the number of characters copied * @throws IOException if an I/O error occurs */ @CanIgnoreReturnValue public static long copy(Readable from, Appendable to) throws IOException { // The most common case is that from is a Reader (like InputStreamReader or StringReader) so // take advantage of that.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 13:56:24 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
} return this.handle.acquire(); } /** * Converts an SmbException to an IOException * * @param se the SmbException to convert * @return an IOException wrapping the SmbException */ protected static IOException seToIoe(final SmbException se) { IOException ioe = se; Throwable root = se.getCause(); if (root instanceof TransportException) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
@Override public Object getContent() throws IOException { handshake(); return this.connection.getContent(); } @Override public Object getContent(final Class[] classes) throws IOException { handshake(); return this.connection.getContent(classes); } @Override public Permission getPermission() throws IOException { return this.connection.getPermission();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 25.6K bytes - Click Count (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
IOException ex = assertThrows(IOException.class, () -> t.parse(null), "parse should throw IOException on null"); assertTrue(ex.getMessage().toLowerCase().contains("null")); } @Test @DisplayName("toByteArray returns empty when no mechanismToken") void toByteArrayWhenNull() { TestSpnegoToken t = new TestSpnegoToken();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
return artifact; } private Artifact createTestArtifact(String directory, String type) throws IOException { return createTestArtifact(directory, "1.0", type); } private Artifact createTestArtifact(String directory, String version, String type) throws IOException { File testData = getTestFile(directory); FileUtils.deleteDirectory(testData); testData.mkdirs();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 12.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NtlmSsp.java
* @return the authenticated NtlmPasswordAuthentication object * @throws IOException If an IO error occurs. * @throws ServletException If an error occurs. */ public NtlmPasswordAuthentication doAuthentication(final HttpServletRequest req, final HttpServletResponse resp, final byte[] challenge) throws IOException, ServletException { return authenticate(req, resp, challenge); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmServletTest.java
@Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { // Do nothing - just for testing } @Override protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { // Do nothing - just for testing } } private TestNtlmServlet ntlmServlet;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 11.5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Resources.java
* Reads all bytes from a URL into a byte array. * * @param url the URL to read from * @return a byte array containing all the bytes from the URL * @throws IOException if an I/O error occurs */ public static byte[] toByteArray(URL url) throws IOException { return asByteSource(url).read(); } /** * Reads all characters from a URL into a {@link String}, using the given character set. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 7.4K bytes - Click Count (0)