- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for asCharSink (0.16 sec)
-
platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/tasks/InstallXCTestBundle.java
} }); copySpec.into(bundleDir); } }); File outputFile = new File(bundleDir, "Contents/Info.plist"); Files.asCharSink(outputFile, Charset.forName("UTF-8")).write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + "<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 6.5K bytes - Viewed (0) -
platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/GenericFileSystem.java
} private File createFile(String content) throws IOException { File file = temporaryFileProvider.createTemporaryFile("gradle_fs_probing", null); Files.asCharSink(file, Charsets.UTF_8).write(content); return file; } private boolean probeCaseSensitive(File file, String content) { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:39 UTC 2024 - 6.7K 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/src/com/google/common/io/CharSink.java
* doing something and finally closing the writer that was opened. * </ul> * * <p>Any {@link ByteSink} may be viewed as a {@code CharSink} with a specific {@linkplain Charset * character encoding} using {@link ByteSink#asCharSink(Charset)}. Characters written to the * resulting {@code CharSink} will written to the {@code ByteSink} as encoded bytes. * * @since 14.0 * @author Colin Decker */ @J2ktIncompatible @GwtIncompatible
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 6.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) -
guava/src/com/google/common/io/CharSink.java
* doing something and finally closing the writer that was opened. * </ul> * * <p>Any {@link ByteSink} may be viewed as a {@code CharSink} with a specific {@linkplain Charset * character encoding} using {@link ByteSink#asCharSink(Charset)}. Characters written to the * resulting {@code CharSink} will written to the {@code ByteSink} as encoded bytes. * * @since 14.0 * @author Colin Decker */ @J2ktIncompatible @GwtIncompatible
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 6.9K 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/src/com/google/common/io/MoreFiles.java
* StandardOpenOption#TRUNCATE_EXISTING TRUNCATE_EXISTING} and {@link StandardOpenOption#WRITE * WRITE} options. */ public static CharSink asCharSink(Path path, Charset charset, OpenOption... options) { return asByteSink(path, options).asCharSink(charset); } /** * Returns an immutable list of paths to the files contained in the given directory. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 34.3K 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)