- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 68 for toUri (0.24 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java
File gradleRuntimeApiInfoJar = from.filter(file -> file.getName().startsWith(gradleApiInfoJarPrefix)).getSingleFile(); URI uri = URI.create("jar:" + gradleRuntimeApiInfoJar.getAbsoluteFile().toURI()); try (FileSystem fs = FileSystems.newFileSystem(uri, Collections.emptyMap())) { Path upgradedPropertiesJson = fs.getPath(UPGRADED_PROPERTIES_FILE); if (Files.exists(upgradedPropertiesJson)) {
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Nov 22 22:15:41 GMT 2023 - 3.4K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
URL resourceUrl = cloader.getResource(resource); if (resourceUrl == null) { throw new FileNotFoundException("Unable to find: " + resource); } return new File(resourceUrl.toURI()); } protected ArtifactRepository getLocalRepository() throws Exception { ArtifactRepositoryLayout repoLayout = getContainer().lookup(ArtifactRepositoryLayout.class);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 6.4K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
URL resourceUrl = cloader.getResource(resource); if (resourceUrl == null) { throw new FileNotFoundException("Unable to find: " + resource); } return new File(resourceUrl.toURI()); } protected ArtifactRepository getLocalRepository() throws Exception { return repositorySystem.createLocalRepository(getLocalRepositoryPath()); }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
@Override public ByteSource createSource(byte[] bytes) throws IOException { super.createSource(bytes); return Resources.asByteSource(getFile().toURI().toURL()); } } private static class UrlCharSourceFactory extends FileCharSourceFactory { @SuppressWarnings("CheckReturnValue") // only using super.createSource to create a file @Override
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Sep 09 17:57:59 GMT 2021 - 17.9K 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 {
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 6.6K 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("")) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.5K bytes - Viewed (0) -
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()); } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 8.3K 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()) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 21.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java
InputSource source = null; if (request.getModelId() != null || request.getLocation() != null) { source = new InputSource( request.getModelId(), path != null ? path.toUri().toString() : null); } MavenStaxReader xml = new MavenStaxReader(); xml.setAddDefaultEntities(request.isAddDefaultEntities()); if (inputStream != null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java
if ("baseUri".equals(expression)) { return projectDir.toAbsolutePath().toUri().toASCIIString(); } else if (expression.startsWith("baseUri.")) { URI baseUri = projectDir.toAbsolutePath().toUri(); return new ObjectBasedValueSource(baseUri)
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 20K bytes - Viewed (0)