Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for FileWriteMode (0.1 sec)

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

    /**
     * Modes for opening a file for writing. The default when mode when none is specified is to truncate
     * the file before writing.
     *
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    public enum FileWriteMode {
      /** Specifies that writes to the opened file should append to the end of the file. */
      APPEND
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Files.java

       * @deprecated Prefer {@code asCharSink(to, charset, FileWriteMode.APPEND).write(from)}. This
       *     method is scheduled to be removed in October 2019.
       */
      @Deprecated
      @InlineMe(
          replacement = "Files.asCharSink(to, charset, FileWriteMode.APPEND).write(from)",
          imports = {"com.google.common.io.FileWriteMode", "com.google.common.io.Files"})
      public
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/Files.java

       * @deprecated Prefer {@code asCharSink(to, charset, FileWriteMode.APPEND).write(from)}. This
       *     method is scheduled to be removed in October 2019.
       */
      @Deprecated
      @InlineMe(
          replacement = "Files.asCharSink(to, charset, FileWriteMode.APPEND).write(from)",
          imports = {"com.google.common.io.FileWriteMode", "com.google.common.io.Files"})
      public
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/SourceSinkFactories.java

            FileOutputStream out = new FileOutputStream(file);
            try {
              out.write(initialBytes);
            } finally {
              out.close();
            }
            return Files.asByteSink(file, FileWriteMode.APPEND);
          }
          return Files.asByteSink(file);
        }
    
        @Override
        public byte[] getExpected(byte[] bytes) {
          if (initialBytes == null) {
            return checkNotNull(bytes);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top