Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for ResourceName (0.13 seconds)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

        }
    
        private String resourceName(String resourceName) {
            if (resourceName == null || resourceName.trim().isEmpty()) {
                return "";
            }
            final int pos = resourceName.lastIndexOf("/");
            if (pos == -1 || pos == resourceName.length() - 1) {
                return "";
            }
            return resourceName.substring(pos + 1);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 11:23:19 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/witness/WitnessNotification.java

         * @return the resource name
         */
        public String getResourceName() {
            return resourceName;
        }
    
        /**
         * Sets the resource name.
         *
         * @param resourceName the resource name
         */
        public void setResourceName(String resourceName) {
            this.resourceName = resourceName;
        }
    
        /**
         * Gets the notification timestamp.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java

        }
    
        @Override
        public void get(String resourceName, File destination)
                throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException {
            addTransfer("get " + resourceName);
    
            insideGet = true;
    
            super.get(resourceName, destination);
    
            insideGet = false;
        }
    
        private void addTransfer(String resourceName) {
            if (testTransferListener != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/Resources.java

      public static URL getResource(String resourceName) {
        ClassLoader loader =
            MoreObjects.firstNonNull(
                Thread.currentThread().getContextClassLoader(), Resources.class.getClassLoader());
        URL url = loader.getResource(resourceName);
        checkArgument(url != null, "resource %s not found.", resourceName);
        return url;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

            public String getResourceName() {
                return resourceName;
            }
    
            /**
             * Sets the resource name associated with the notification.
             *
             * @param resourceName the name of the resource affected by the change
             */
            public void setResourceName(String resourceName) {
                this.resourceName = resourceName;
            }
    
            /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/reflect/ClassPath.java

        private final File file;
        private final String resourceName;
    
        final ClassLoader loader;
    
        static ResourceInfo of(File file, String resourceName, ClassLoader loader) {
          if (resourceName.endsWith(CLASS_FILE_NAME_EXTENSION)) {
            return new ClassInfo(file, resourceName, loader);
          } else {
            return new ResourceInfo(file, resourceName, loader);
          }
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/witness/MockWitnessService.java

         * @param eventType the event type
         * @param resourceName the resource name
         */
        public void sendNotification(WitnessEventType eventType, String resourceName) {
            // In a real implementation, this would send notifications to registered clients
            // For the mock, we just log it
            log.info("Mock sending notification: {} for resource: {}", eventType, resourceName);
    
            // Count how many registrations this affects
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListener.java

                String resourceName = entry.resource.getResourceName();
    
                if (printResourceNames) {
                    int idx = resourceName.lastIndexOf('/');
    
                    if (idx < 0) {
                        buffer.append(resourceName);
                    } else {
                        buffer.append(resourceName, idx + 1, resourceName.length());
                    }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 22 14:09:32 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java

    @Named("string")
    @Singleton
    public class StringWagon extends StreamWagon {
        private Map<String, String> expectedContent = new HashMap<>();
    
        public void addExpectedContent(String resourceName, String expectedContent) {
            this.expectedContent.put(resourceName, expectedContent);
        }
    
        public String[] getSupportedProtocols() {
            return new String[] {"string"};
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/TransferResourceIdentifier.java

     * making it not very suitable for usage in collections.
     */
    record TransferResourceIdentifier(
            String repositoryId,
            String repositoryUrl,
            String resourceName,
            @Nullable Path file) {
        TransferResourceIdentifier(TransferResource resource) {
            this(resource.getRepositoryId(), resource.getRepositoryUrl(), resource.getResourceName(), resource.getPath());
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top