Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

     * the file before writing.
     *
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public enum FileWriteMode {
      /** Specifies that writes to the opened file should append to the end of the file. */
      APPEND
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 1.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
    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)
  3. android/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);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 12.7K 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);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Sep 09 17:57:59 GMT 2021
    - 17.9K bytes
    - Viewed (0)
Back to top