- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewBufferedWriter (0.2 sec)
-
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, Charsets.UTF_8)) { writer.write(string); } return MoreFiles.asCharSource(file, Charsets.UTF_8); } @Override public String getExpected(String string) {
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) -
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
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)