- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for asCharSink (0.56 sec)
-
guava/src/com/google/common/io/Files.java
* @throws IOException if an I/O error occurs * @deprecated Prefer {@code asCharSink(to, charset).write(from)}. */ @Deprecated @InlineMe( replacement = "Files.asCharSink(to, charset).write(from)", imports = "com.google.common.io.Files") public static void write(CharSequence from, File to, Charset charset) throws IOException { asCharSink(to, charset).write(from); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 33.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* @throws IOException if an I/O error occurs * @deprecated Prefer {@code asCharSink(to, charset).write(from)}. */ @Deprecated @InlineMe( replacement = "Files.asCharSink(to, charset).write(from)", imports = "com.google.common.io.Files") public static void write(CharSequence from, File to, Charset charset) throws IOException { asCharSink(to, charset).write(from); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 33.1K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/ValidateAction.java
try { //noinspection ResultOfMethodCallIgnored output.createNewFile(); Gson gson = ValidationProblemSerialization.createGsonBuilder().create(); Files.asCharSink(output, Charsets.UTF_8).write(gson.toJson(problemMessages)); } catch (IOException ex) { throw new java.io.UncheckedIOException(ex); } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 09:10:37 UTC 2024 - 10.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
SourceSinkFactories.fileCharSourceFactory(), false)); suite.addTest( CharSinkTester.tests( "Files.asCharSink[File, Charset]", SourceSinkFactories.fileCharSinkFactory())); suite.addTest( CharSinkTester.tests( "Files.asCharSink[File, Charset, APPEND]", SourceSinkFactories.appendingFileCharSinkFactory())); suite.addTestSuite(FilesTest.class); return suite;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 22.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
SourceSinkFactories.fileCharSourceFactory(), false)); suite.addTest( CharSinkTester.tests( "Files.asCharSink[File, Charset]", SourceSinkFactories.fileCharSinkFactory())); suite.addTest( CharSinkTester.tests( "Files.asCharSink[File, Charset, APPEND]", SourceSinkFactories.appendingFileCharSinkFactory())); suite.addTestSuite(FilesTest.class); return suite;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 22.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/operations/trace/BuildOperationTrace.java
Files.asCharSink(file(basePath, "-tree.json"), Charsets.UTF_8).write(prettyJson); } catch (OutOfMemoryError e) { System.err.println("Failed to write build operation trace JSON due to out of memory."); } } private void writeSummaryTree(final List<BuildOperationRecord> roots) throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:45:59 UTC 2024 - 23.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(ByteSource.class, ByteSource.empty()) .put(CharSource.class, CharSource.empty()) .put(ByteSink.class, NullByteSink.INSTANCE) .put(CharSink.class, NullByteSink.INSTANCE.asCharSink(Charsets.UTF_8)) // All collections are immutable empty. So safe for any type parameter. .put(Iterator.class, ImmutableSet.of().iterator())
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 21K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(ByteSource.class, ByteSource.empty()) .put(CharSource.class, CharSource.empty()) .put(ByteSink.class, NullByteSink.INSTANCE) .put(CharSink.class, NullByteSink.INSTANCE.asCharSink(Charsets.UTF_8)) // All collections are immutable empty. So safe for any type parameter. .put(Iterator.class, ImmutableSet.of().iterator())
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 20.5K bytes - Viewed (0)