- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getResourceName (0.1 sec)
-
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
message.resetStyle().append(resource.getRepositoryId()); message.style(STYLE).append(": ").append(resource.getRepositoryUrl()); message.resetStyle().append(resource.getResourceName()); out.println(message.toString()); } @Override public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
message.append(action).append(' ').append(direction).append(' ').append(resource.getRepositoryId()); message.append(": "); message.append(resource.getRepositoryUrl()).append(resource.getResourceName()); out.info(message.toString()); } @Override public void transferCorrupted(TransferEvent event) throws TransferCancelledException { TransferResource resource = event.getResource();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.7K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java
println( "transferInitiated", message + ": " + event.getResource().getRepositoryUrl() + event.getResource().getResourceName()); } @Override public void transferProgressed(TransferEvent event) { TransferResource resource = event.getResource(); downloads.put(resource, event.getTransferredBytes());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/TransferResourceIdentifier.java
TransferResourceIdentifier(TransferResource resource) { this(resource.getRepositoryId(), resource.getRepositoryUrl(), resource.getResourceName(), resource.getFile()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
long complete = Math.max(0, entry.transferredBytes); long total = Math.max(complete, entry.resource.getContentLength()); String resourceName = entry.resource.getResourceName(); if (printResourceNames) { int idx = resourceName.lastIndexOf('/'); if (idx < 0) { buffer.append(resourceName); } else {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0)