- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 144 for getURI (0.12 sec)
-
platforms/software/resources-sftp/src/main/java/org/gradle/internal/resource/transport/sftp/SftpResourceLister.java
if (e.id == ChannelSftp.SSH_FX_NO_SUCH_FILE) { return null; } throw new ResourceException(directory.getUri(), String.format("Could not list children for resource '%s'.", directory.getUri()), e); } finally { sftpClientFactory.releaseSftpClient(client); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/TextResourceScriptSource.java
ResourceLocation location = resource.getLocation(); if (location.getFile() != null) { return location.getFile().getPath(); } if (location.getURI() != null) { return location.getURI().toString(); } return getClassName(); } @Override public String getDisplayName() { return getLongDisplayName().getDisplayName(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jul 07 10:24:10 UTC 2021 - 3.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/plugins/readOnlyManagedProperty/groovy/buildSrc/src/main/java/Download.java
@Input public abstract Property<String> getLocation(); @Internal public Provider<URI> getUri() { return getLocation().map(l -> URI.create("https://" + l)); } @TaskAction void run() { System.out.println("Downloading " + getUri().get()); // Use the `uri` provider (read-only property) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 682 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/plugins/mutableManagedProperty/groovy/buildSrc/src/main/java/Download.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 24 04:19:09 UTC 2024 - 488 bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/groovy/scripts/TextResourceScriptSourceTest.java
assertThat(source.getResource().getFile(), equalTo(this.scriptFile)); assertThat(source.getResource().getLocation().getFile(), equalTo(this.scriptFile)); assertThat(source.getResource().getLocation().getURI(), equalTo(scriptFileUri)); } @Test public void convenienceMethodScriptForFileThatHasContent() { new TestFile(scriptFile).write("content"); ScriptSource source = forFile(scriptFile);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 15 01:04:05 UTC 2023 - 12K bytes - Viewed (0) -
test-site/app/models/ContentsCreator.java
} } protected void addSubLink(final Queue<String> queue, final String html, final HttpUriRequest request) { String schema = request.getURI().getScheme(); String host = request.getURI().getHost(); String originUri = request.getURI().toString(); String h = html; final String tag = "<a href=\""; int linkPos; while((linkPos = h.indexOf(tag)) >=0) {
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Fri Nov 06 08:48:32 UTC 2015 - 3.7K bytes - Viewed (0) -
platforms/software/resources-sftp/src/main/java/org/gradle/internal/resource/transport/sftp/SftpResourceUploader.java
LockableSftpClient client = sftpClientFactory.createSftpClient(destination.getUri(), credentials); try { ChannelSftp channel = client.getSftpClient(); ensureParentDirectoryExists(channel, destination.getUri()); InputStream sourceStream = resource.open(); try { channel.put(sourceStream, destination.getPath());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/download/internal/DefaultFileDownloadOperationDescriptor.java
super(descriptor, parent); this.uri = descriptor.getUri(); } public DefaultFileDownloadOperationDescriptor(String name, URI uri, OperationDescriptor parent) { super(name, name, parent); this.uri = uri; } @Override public URI getUri() { return uri; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/archive/compression/AbstractArchiver.java
this.uri = new URIBuilder(resource.getURI()).schemePrefix(getSchemePrefix()).build(); this.resource = resource; } abstract protected String getSchemePrefix(); @Override public abstract InputStream read(); @Override public String getDisplayName() { return resource.getDisplayName(); } @Override public URI getURI() { return uri; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 10:39:11 UTC 2019 - 1.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/resources/internal/LocalResourceAdapter.java
return resource.getDisplayName(); } @Override public InputStream read() { return new BufferedInputStream(resource.open()); } @Override public URI getURI() { return resource.getURI(); } @Override public String getBaseName() { return resource.getBaseName(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 27 20:19:08 UTC 2017 - 1.7K bytes - Viewed (0)