- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 67 for toURI (0.03 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
public Object getValue(String expression) { if (projectDir != null && "baseUri".equals(expression)) { return projectDir.getAbsoluteFile().toPath().toUri().toASCIIString(); } return null; } }, PROJECT_PREFIXES, false);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java
CodeSource codeSource = domain.getCodeSource(); if (codeSource != null) { try { classpath.add(new File(codeSource.getLocation().toURI())); } catch (URISyntaxException e) { // silent } } } private List<JApiCmpWorkerAction.Archive> inferArchives(FileCollection fc) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Apr 26 10:58:32 UTC 2023 - 13.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
* @return ファイルURLを表すURLオブジェクト */ public static URL toURL(final File file) { assertArgumentNotNull("file", file); try { return file.toURI().toURL(); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * ファイルの内容をバイト配列に読み込んで返します。 * * @param file
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java
if (logger.isDebugEnabled()) { String id = getId(constituent); logger.debug(" Included: {}", id); } try { classRealm.addURL(file.toURI().toURL()); } catch (MalformedURLException e) { // Not going to happen logger.error(e.getMessage(), e); } } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0) -
okhttp/src/main/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 63.5K bytes - Viewed (0) -
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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.2K bytes - Viewed (0) -
okhttp/src/main/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 15.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RequestTest.kt
assertThat(patch.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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.4K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
model, rootDirectory.toFile(), createModelBuildingRequest(context), collector); assertProblemFree(collector); assertEquals( rootDirectory.resolve("temp-repo").toUri().toString(), (out.getRepositories().get(0)).getUrl()); } @Test void testRootDirectoryWithNull() throws Exception { Model model = Model.newBuilder()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.2K bytes - Viewed (0)