- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for createSink (0.17 sec)
-
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
public static CharSinkFactory asCharSinkFactory(final ByteSinkFactory factory) { checkNotNull(factory); return new CharSinkFactory() { @Override public CharSink createSink() throws IOException { return factory.createSink().asCharSink(Charsets.UTF_8); } @Override public String getSinkContents() throws IOException { return new String(factory.getSinkContents(), Charsets.UTF_8);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTester.java
super(factory, data, suiteName, caseDesc, method); } @Override protected void setUp() throws Exception { sink = factory.createSink(); } public void testOpenStream() throws IOException { OutputStream out = sink.openStream(); try { ByteStreams.copy(new ByteArrayInputStream(data), out); } finally { out.close();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSinkTester.java
this.lines = getLines(string); this.expectedLines = getLines(expected); } @Override protected void setUp() throws Exception { this.sink = factory.createSink(); } public void testOpenStream() throws IOException { Writer writer = sink.openStream(); try { writer.write(data); } finally { writer.close(); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTester.java
super(factory, data, suiteName, caseDesc, method); } @Override protected void setUp() throws Exception { sink = factory.createSink(); } public void testOpenStream() throws IOException { OutputStream out = sink.openStream(); try { ByteStreams.copy(new ByteArrayInputStream(data), out); } finally { out.close();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSinkTester.java
this.lines = getLines(string); this.expectedLines = getLines(expected); } @Override protected void setUp() throws Exception { this.sink = factory.createSink(); } public void testOpenStream() throws IOException { Writer writer = sink.openStream(); try { writer.write(data); } finally { writer.close(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
Path fooSymlink = fs.getPath("symlink"); Files.createSymbolicLink(fooSymlink, fooPath); Path fooHardlink = fs.getPath("hardlink"); Files.createLink(fooHardlink, fooPath); assertThat(MoreFiles.equal(fooPath, fooSymlink)).isTrue(); assertThat(MoreFiles.equal(fooPath, fooHardlink)).isTrue(); assertThat(MoreFiles.equal(fooSymlink, fooHardlink)).isTrue();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Jan 29 22:57:05 GMT 2024 - 27.2K bytes - Viewed (0)