Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getClassPathFromManifest (0.09 sec)

  1. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      }
    
      public void testGetClassPathFromManifest_nullManifest() {
        assertThat(ClassPath.getClassPathFromManifest(new File("some.jar"), null)).isEmpty();
      }
    
      public void testGetClassPathFromManifest_noClassPath() throws IOException {
        File jarFile = new File("base.jar");
        assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest(""))).isEmpty();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/ClassPathTest.java

      }
    
      public void testGetClassPathFromManifest_nullManifest() {
        assertThat(ClassPath.getClassPathFromManifest(new File("some.jar"), null)).isEmpty();
      }
    
      public void testGetClassPathFromManifest_noClassPath() throws IOException {
        File jarFile = new File("base.jar");
        assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest(""))).isEmpty();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/ClassPath.java

          JarFile jarFile;
          try {
            jarFile = new JarFile(file);
          } catch (IOException e) {
            // Not a jar file
            return;
          }
          try {
            for (File path : getClassPathFromManifest(file, jarFile.getManifest())) {
              // We only scan each file once independent of the classloader that file might be
              // associated with.
              if (scannedUris.add(path.getCanonicalFile())) {
    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