Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 76 for toURI (0.02 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                    file = file.getAbsoluteFile();
                } else {
                    // an ordinary relative path, align with project directory
                    file = new File(new File(basedir, file.getPath()).toURI().normalize()).getAbsoluteFile();
                }
            }
            return file;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/BootstrapCoreExtensionManager.java

                    log.debug("  Excluded {}", id);
                } else {
                    Path file = artifact.getPath();
                    log.debug("  Included {} located at {}", id, file);
                    realm.addURL(file.toUri().toURL());
                }
            }
            return CoreExtensionEntry.discoverFrom(
                    realm,
                    Collections.singleton(artifacts.get(0).getPath().toFile()),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

        if (failedRoute.proxy.type() != Proxy.Type.DIRECT) {
          val address = failedRoute.address
          address.proxySelector.connectFailed(
            address.url.toUri(),
            failedRoute.proxy.address(),
            failure,
          )
        }
    
        client.routeDatabase.failed(failedRoute)
      }
    
      /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          if (route.address.proxy == null && route.proxy.type() != Proxy.Type.DIRECT) {
            route.address.proxySelector.connectFailed(
              route.address.url.toUri(),
              route.proxy.address(),
              e,
            )
          }
          call.eventListener.connectFailed(call, route.socketAddress, route.proxy, null, e)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 19.3K bytes
    - Viewed (2)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

        protected List<String> getUrlFromTagAttribute(final URL url, final Document document, final String xpath, final String attr,
                final String encoding) {
            try {
                return getUrlFromTagAttribute(url.toURI(), document, xpath, attr, encoding);
            } catch (final URISyntaxException e) {
                logger.warn("Could not convert URL to URI: url={}", url, e);
                return new ArrayList<>();
            }
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 29 07:42:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

        level = DeprecationLevel.ERROR,
      )
      fun url(): URL = toUrl()
    
      @JvmName("-deprecated_uri")
      @Deprecated(
        message = "moved to toUri()",
        replaceWith = ReplaceWith(expression = "toUri()"),
        level = DeprecationLevel.ERROR,
      )
      fun uri(): URI = toUri()
    
      @JvmName("-deprecated_scheme")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "scheme"),
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

                throw new IllegalStateException("plugin main artifact has not been resolved for " + getId());
            }
    
            if (pluginFile.isFile()) {
                try {
                    return new URL("jar:" + pluginFile.toURI() + "!/" + descriptor).openStream();
                } catch (MalformedURLException e) {
                    throw new IllegalStateException(e);
                }
            } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/FileUtil.java

         * @return a URL object representing the file URL
         */
        public static URL toURL(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
                return file.toURI().toURL();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Reads the contents of a file into a byte array and returns it.
         * <p>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

        }
    
        @Override
        public ArtifactRepository createLocalRepository(File localRepository) throws InvalidRepositoryException {
            return createRepository(
                    "file://" + localRepository.toURI().getRawPath(),
                    RepositorySystem.DEFAULT_LOCAL_REPO_ID,
                    true,
                    ArtifactRepositoryPolicy.UPDATE_POLICY_ALWAYS,
                    true,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

        assertThat(query.body).isEqualTo(body)
      }
    
      @Test
      fun uninitializedURI() {
        val request = Request.Builder().url("http://localhost/api").build()
        assertThat(request.url.toUri()).isEqualTo(URI("http://localhost/api"))
        assertThat(request.url).isEqualTo("http://localhost/api".toHttpUrl())
      }
    
      @Test
      fun newBuilderUrlResetsUrl() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:36:14 UTC 2025
    - 24.4K bytes
    - Viewed (0)
Back to top