Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getFiles (0.23 sec)

  1. android/guava/src/com/google/common/io/FileBackedOutputStream.java

          return buf;
        }
    
        int getCount() {
          return count;
        }
      }
    
      /** Returns the file holding the data (possibly null). */
      @VisibleForTesting
      @CheckForNull
      synchronized File getFile() {
        return file;
      }
    
      /**
       * Creates a new instance that uses the given file threshold, and does not reset the data when the
       * {@link ByteSource} returned by {@link #asByteSource} is finalized.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/MoreFilesTest.java

          NoSuchFileException expected =
              assertThrows(
                  NoSuchFileException.class,
                  () -> MoreFiles.deleteRecursively(fs.getPath("/work/nothere"), ALLOW_INSECURE));
          assertThat(expected.getFile()).isEqualTo("/work/nothere");
        }
      }
    
      public void testDeleteDirectoryContents_symlinkToDir_sdsNotSupported_allowInsecure()
          throws IOException {
        try (FileSystem fs = newTestFileSystem()) {
    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)
  3. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x/y/z.jar").toURI());
        assertEquals(
            "/home/build/x y.jar",
            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x y.jar").getFile());
      }
    
      public void testGetClassPathFromManifest_nullManifest() {
        assertThat(ClassPath.getClassPathFromManifest(new File("some.jar"), null)).isEmpty();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
Back to top