Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for nonexistent (0.17 sec)

  1. guava-tests/test/com/google/common/io/MoreFilesTest.java

        Path path = FS.getPath("nonexistent.file");
        assertNull(path.getParent());
        assertNotNull(path.toAbsolutePath().getParent());
        MoreFiles.createParentDirectories(path); // test that there's no exception
      }
    
      public void testCreateParentDirectories_noParentsNeeded() throws IOException {
        Path path = tempDir.resolve("nonexistent.file");
        assertTrue(Files.exists(path.getParent()));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesTest.java

        File file = file("nonexistent.file");
        assertNull(file.getParentFile());
        assertNotNull(file.getCanonicalFile().getParentFile());
        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_noParentsNeeded() throws IOException {
        File file = file(getTempDir(), "nonexistent.file");
        assertTrue(file.getParentFile().exists());
    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 = file("nonexistent.file");
        assertNull(file.getParentFile());
        assertNotNull(file.getCanonicalFile().getParentFile());
        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_noParentsNeeded() throws IOException {
        File file = file(getTempDir(), "nonexistent.file");
        assertTrue(file.getParentFile().exists());
    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. android/guava/src/com/google/common/io/Files.java

        }
      }
    
      /**
       * Creates any necessary but nonexistent parent directories of the specified file. Note that if
       * this operation fails it may have succeeded in creating some (but not all) of the necessary
       * parent directories.
       *
       * @throws IOException if an I/O error occurs, or if any necessary but nonexistent parent
       *     directories of the specified file could not be created.
       * @since 4.0
    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