- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 67 for toURI (0.04 sec)
-
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)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.8K bytes - Viewed (0) -
okhttp/src/test/java/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("")) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.5K bytes - Viewed (0) -
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()); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy
} into(getTemporaryDir()) } def stylesheetFile = new File(getTemporaryDir(), "dslHtml.xsl") def xslthlConfigFile = getStylesheetHighlightFile().get().asFile.toURI() // TODO: Implement this with the worker API workerLeaseService.runAsIsolatedTask({ source.visit { FileVisitDetails fvd -> if (fvd.isDirectory()) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 4.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
final File[] files = file.listFiles(); if (files != null) { for (final File f : files) { final String chileUri = f.toURI().toASCIIString(); requestDataSet.add(RequestDataBuilder.newRequestData().get().url(chileUri).build()); } } }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 11.8K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt
) { fun analyze(jarFile: File, classesDir: File, manifestFile: File, buildReceipt: File): ClassGraph { val classGraph = classGraph() val jarUri = URI.create("jar:${jarFile.toPath().toUri()}") FileSystems.newFileSystem(jarUri, emptyMap<String, Any>()).use { jarFileSystem -> jarFileSystem.rootDirectories.forEach {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Oct 28 12:55:30 UTC 2024 - 6.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java
} // relative path, e.g. "sub", "../sub" or "." else if (reactorDirectory != null) { File selectedProject = new File(new File(reactorDirectory, selector).toURI().normalize()); if (selectedProject.isFile()) { return selectedProject.equals(project.getFile()); } else if (selectedProject.isDirectory()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
if (testFileUrl == null) { throw new RuntimeException("unable to locate testdata directory"); } if (testFileUrl.getProtocol().equals("file")) { try { File testFile = new File(testFileUrl.toURI()); testDir = testFile.getParentFile(); // the testdata directory } catch (Exception ignore) { // probably URISyntaxException or IllegalArgumentException
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
assertThrows(IllegalArgumentException.class, () -> Resources.getResource(tempFile.getName())); // Now set the context loader to one that should find the resource. URL baseUrl = tempFile.getParentFile().toURI().toURL(); URLClassLoader loader = new URLClassLoader(new URL[] {baseUrl}); ClassLoader oldContextLoader = Thread.currentThread().getContextClassLoader(); try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
logger.warn("Failed to delete {}", path, e); } } 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()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 21.5K bytes - Viewed (0)