Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 79 for toUri (0.02 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                return rel != null ? new SourceWrapper(rel) : null;
            }
    
            @Override
            public URI getLocationURI() {
                Path path = source.getPath();
                return path != null ? path.toUri() : URI.create(source.getLocation());
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Sep 13 09:44:11 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

                        if (file.exists()) {
                            reloadableFile = file;
                        }
                        reader = new BufferedReader(new InputStreamReader(path.toUri().toURL().openStream(), StandardCharsets.UTF_8));
                    } catch (final Exception e) {
                        throw new IllegalArgumentException("Failed to read " + filePath, e);
                    }
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun May 18 02:59:16 GMT 2025
    - 6.7K bytes
    - Click Count (1)
  3. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTesterJvm.kt

        component: Component,
      ) {
        if (codePoint == '%'.code) return
        val encoded = encoding.encode(codePoint)
        val httpUrl = component.urlString(encoded).toHttpUrl()
        val uri = httpUrl.toUri()
        val toAndFromUri = uri.toHttpUrlOrNull()
        val uriStripped = uriStrippedCodePoints.indexOf(codePointString) != -1
        if (uriStripped) {
          if (uri.toString() != component.urlString("")) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

          ),
        )
        assertContent("This is the 2nd server!", getResponse(newRequest("/a")))
        assertThat(proxySelectionRequests).isEqualTo(
          listOf(
            server.url("/").toUrl().toURI(),
            server2.url("/").toUrl().toURI(),
          ),
        )
      }
    
      @Test
      fun redirectWithAuthentication() {
        server2.enqueue(
          MockResponse(body = "Page 2"),
        )
        server.enqueue(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            policy.setUpdatePolicy("always");
    
            Repository repository = new Repository();
            repository.setId(RepositorySystem.DEFAULT_REMOTE_REPO_ID);
            repository.setUrl("file://" + repoDir.toURI().getPath());
            repository.setReleases(policy);
            repository.setSnapshots(policy);
    
            return Arrays.asList(repositorySystem.buildArtifactRepository(repository));
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

                logger.debug("Populating class realm '" + extRealm.getId() + "'");
    
                for (Path file : extClassPath) {
                    logger.debug("  included '" + file + "'");
                    extRealm.addURL(file.toUri().toURL());
                }
    
                ArrayList<CoreExtensionEntry> reversed = new ArrayList<>(extensions);
                Collections.reverse(reversed);
                for (CoreExtensionEntry entry : reversed) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            policy.setUpdatePolicy("always");
    
            Repository repository = new Repository();
            repository.setId(MavenRepositorySystem.DEFAULT_REMOTE_REPO_ID);
            repository.setUrl("file://" + repoDir.toURI().getPath());
            repository.setReleases(policy);
            repository.setSnapshots(policy);
    
            return Arrays.asList(mavenRepositorySystem.buildArtifactRepository(repository));
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                    log.debug("  Excluded {}", id);
                } else {
                    File file = artifact.getFile();
                    log.debug("  Included {} located at {}", id, file);
                    realm.addURL(file.toURI().toURL());
                }
            }
            return CoreExtensionEntry.discoverFrom(
                    realm,
                    Collections.singleton(artifacts.get(0).getFile()),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

             * @param file the file path
             * @return the extracted document ID
             */
            protected String getDocId(final Path file) {
                final String s = file.toUri().toString();
                final String b = basePath.toUri().toString();
                final String id = s.replace(b, StringUtil.EMPTY).replace("." + imageExtention, StringUtil.EMPTY).replace("/", StringUtil.EMPTY);
                if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

            if (repositoryLayout instanceof ArtifactRepositoryLayout2 artifactRepositoryLayout2) {
                repository = artifactRepositoryLayout2.newMavenArtifactRepository(
                        id, path.toUri().toString(), snapshots, releases);
            } else {
                repository = new MavenArtifactRepository(id, path, repositoryLayout, snapshots, releases);
            }
    
            return repository;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
Back to Top