Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getCanonicalFile (0.18 sec)

  1. android/guava/src/com/google/common/reflect/ClassPath.java

              // We only scan each file once independent of the classloader that file might be
              // associated with.
              if (scannedUris.add(path.getCanonicalFile())) {
                scan(path, scannedUris, builder);
              }
            }
            scanJarFile(jarFile, builder);
          } finally {
            try {
              jarFile.close();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  2. guava-tests/test/com/google/common/io/FilesTest.java

        File file = root();
        assertNull(file.getParentFile());
        assertNull(file.getCanonicalFile().getParentFile());
        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_relativePath() throws IOException {
        File file = file("nonexistent.file");
        assertNull(file.getParentFile());
        assertNotNull(file.getCanonicalFile().getParentFile());
        Files.createParentDirs(file);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/FilesTest.java

        File file = root();
        assertNull(file.getParentFile());
        assertNull(file.getCanonicalFile().getParentFile());
        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_relativePath() throws IOException {
        File file = file("nonexistent.file");
        assertNull(file.getParentFile());
        assertNotNull(file.getCanonicalFile().getParentFile());
        Files.createParentDirs(file);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            Model model = new Model();
            model.setBuild(build);
    
            MavenProject project = new MavenProject(model);
            project.setFile(new File("pom.xml").getCanonicalFile());
    
            ExpressionEvaluator expressionEvaluator = createExpressionEvaluator(project, null, new Properties());
    
            Object value = expressionEvaluator.evaluate("${project.build.directory}/classes");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 08:11:33 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            Model model = new Model();
            model.setBuild(build);
    
            MavenProject project = new MavenProject(model);
            project.setFile(new File("pom.xml").getCanonicalFile());
    
            ExpressionEvaluator expressionEvaluator = createExpressionEvaluator(project, new Properties());
    
            Object value = expressionEvaluator.evaluate("${project.build.directory}/classes");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Files.java

       *     directories of the specified file could not be created.
       * @since 4.0
       */
      public static void createParentDirs(File file) throws IOException {
        checkNotNull(file);
        File parent = file.getCanonicalFile().getParentFile();
        if (parent == null) {
          /*
           * The given directory is a filesystem root. All zero of its ancestors exist. This doesn't
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top