Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for newBufferedWriter (0.06 sec)

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

        @Override
        public CharSource createSource(String string) throws IOException {
          checkNotNull(string);
          Path file = createFile();
          try (Writer writer = java.nio.file.Files.newBufferedWriter(file, UTF_8)) {
            writer.write(string);
          }
          return MoreFiles.asCharSource(file, UTF_8);
        }
    
        @Override
        public String getExpected(String string) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Files.java

      }
    
      /**
       * Returns a buffered writer that writes to a file using the given character set.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#newBufferedWriter(java.nio.file.Path, Charset,
       * java.nio.file.OpenOption...)}.
       *
       * @param file the file to write to
       * @param charset the charset used to encode the output stream; see {@link StandardCharsets} for
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/Files.java

      }
    
      /**
       * Returns a buffered writer that writes to a file using the given character set.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#newBufferedWriter(java.nio.file.Path, Charset,
       * java.nio.file.OpenOption...)}.
       *
       * @param file the file to write to
       * @param charset the charset used to encode the output stream; see {@link StandardCharsets} for
    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. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            if (context.options().logFile().isPresent()) {
                Path logFile = context.cwd.resolve(context.options().logFile().get());
                try {
                    PrintWriter printWriter = new PrintWriter(Files.newBufferedWriter(logFile), true);
                    context.closeables.add(printWriter);
                    return printWriter::println;
                } catch (IOException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
Back to top