Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 65 for getResources (0.07 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java

                        .scriptSourceDirectory(alignToBaseDirectory(build.getScriptSourceDirectory(), basedir))
                        .resources(map(build.getResources(), r -> alignToBaseDirectory(r, basedir)))
                        .testResources(map(build.getTestResources(), r -> alignToBaseDirectory(r, basedir)))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            final String path = basePackage.replace('.', '/');
            final ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
            try {
                final Enumeration<URL> resources = classLoader.getResources(path);
    
                while (resources.hasMoreElements()) {
                    final URL resource = resources.nextElement();
                    logger.debug("loading {}", resource);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jun 19 01:34:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

            tasks.register("checkstyleApi", Checkstyle.class, task -> {
                task.source(extension.getDocumentedSource());
                // TODO: This is ugly
                task.setConfig(project.getResources().getText().fromFile(checkstyle.getConfigDirectory().file("checkstyle-api.xml")));
                task.setClasspath(layout.files());
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        assertEquals(
            "a.b", new ClassInfo(FILE, "a/b/Foo.class", getClass().getClassLoader()).getPackageName());
      }
    
      // Test that ResourceInfo.urls() returns identical content to ClassLoader.getResources()
    
    
      @AndroidIncompatible
      public void testGetClassPathUrls() throws Exception {
        if (isWindows()) {
          return; // TODO: b/136041958 - We need to account for drive letters in the path.
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        assertEquals(
            "a.b", new ClassInfo(FILE, "a/b/Foo.class", getClass().getClassLoader()).getPackageName());
      }
    
      // Test that ResourceInfo.urls() returns identical content to ClassLoader.getResources()
    
    
      @AndroidIncompatible
      public void testGetClassPathUrls() throws Exception {
        if (isWindows()) {
          return; // TODO: b/136041958 - We need to account for drive letters in the path.
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         *
         * @param project the project
         * @param scope the scope, i.e. usually main or test
         * @return the list of resources
         */
        List<Resource> getResources(@Nonnull Project project, @Nonnull ProjectScope scope);
    
        /**
         * Add a resource set to the given project for the given scope.
         *
         * @param project the project
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 11:52:48 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            Model out = interpolator.interpolateModel(model, (Path) null, createModelBuildingRequest(context), collector);
            assertCollectorState(0, 0, 0, collector);
    
            List<Resource> outResources = out.getBuild().getResources();
            Iterator<Resource> resIt = outResources.iterator();
    
            assertEquals(model.getBuild().getSourceDirectory(), resIt.next().getDirectory());
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  8. istioctl/pkg/multixds/gather.go

    		if err != nil {
    			return nil, fmt.Errorf("could not get XDS from the agent pod %q: %v", pod.Name, err)
    		}
    		for _, resource := range response.GetResources() {
    			switch resource.GetTypeUrl() {
    			case "type.googleapis.com/envoy.service.status.v3.ClientConfig":
    				clientConfig := xdsstatus.ClientConfig{}
    				err := resource.UnmarshalTo(&clientConfig)
    				if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/TraversalUtil.java

                return EMPTY_ARRAY;
            }
    
            final String baseName = toDirectoryName(rootPackage);
            final List<Traverser> list = newArrayList();
            for (final Iterator<URL> it = ClassLoaderUtil.getResources(baseName); it.hasNext();) {
                final URL url = it.next();
                final Traverser resourcesType = getTraverser(url, rootPackage, baseName);
                if (resourcesType != null) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/ClassPath.java

        /**
         * Returns the url identifying the resource.
         *
         * <p>See {@link ClassLoader#getResource}
         *
         * @throws NoSuchElementException if the resource cannot be loaded through the class loader,
         *     despite physically existing in the class path.
         */
        public final URL url() {
          URL url = loader.getResource(resourceName);
          if (url == null) {
            throw new NoSuchElementException(resourceName);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
Back to top