Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for bufferedWriter (0.05 sec)

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

    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.hash.Hashing;
    import com.google.common.primitives.Bytes;
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.RandomAccessFile;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/CopyUtil.java

        }
    
        /**
         * Wraps the writer with a {@link BufferedWriter} if necessary.
         *
         * @param writer the writer
         * @return the wrapped writer
         */
        protected static Writer wrap(final Writer writer) {
            if (writer instanceof BufferedWriter) {
                return writer;
            }
            if (writer instanceof StringWriter) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Files.java

       *     helpful predefined constants
       * @return the buffered writer
       */
      public static BufferedWriter newWriter(File file, Charset charset) throws FileNotFoundException {
        checkNotNull(file);
        checkNotNull(charset);
        return new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), charset));
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/Files.java

       *     helpful predefined constants
       * @return the buffered writer
       */
      public static BufferedWriter newWriter(File file, Charset charset) throws FileNotFoundException {
        checkNotNull(file);
        checkNotNull(charset);
        return new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), charset));
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  5. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionGeneratorFacade.kt

        groupBy { it.targetType }
    
    
    private
    fun writeExtensionsTo(outputFile: File, packageName: String, targetType: ApiType, extensions: List<KotlinExtensionFunction>): Unit =
        outputFile.bufferedWriter().use { writer ->
            writer.write(fileHeaderFor(packageName, isIncubatingFileClass(targetType, extensions)))
            writer.write("\n")
            extensions.forEach {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Mar 12 15:56:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top