Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for SourceSinkFactory (0.54 seconds)

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

     * given the content data that was used to create the source or that was written to the sink.
     *
     * <p>A single {@code SourceSinkFactory} implementation generally corresponds to one specific way of
     * creating a source or sink, such as {@link Files#asByteSource(File)}. Implementations of {@code
     * SourceSinkFactory} for common.io are found in {@link SourceSinkFactories}.
     *
     * @param <S> the source or sink type
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/SourceSinkFactory.java

     * given the content data that was used to create the source or that was written to the sink.
     *
     * <p>A single {@code SourceSinkFactory} implementation generally corresponds to one specific way of
     * creating a source or sink, such as {@link Files#asByteSource(File)}. Implementations of {@code
     * SourceSinkFactory} for common.io are found in {@link SourceSinkFactories}.
     *
     * @param <S> the source or sink type
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/SourceSinkTester.java

     * @param <F> the factory type
     * @author Colin Decker
     */
    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    @NullUnmarked
    public class SourceSinkTester<S, T, F extends SourceSinkFactory<S, T>> extends TestCase {
    
      static final String LOREM_IPSUM =
          "Lorem ipsum dolor sit amet, consectetur adipiscing "
              + "elit. Cras fringilla elit ac ipsum adipiscing vulputate. Maecenas in lorem nulla, ac "
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/CharSourceTester.java

    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.base.Optional;
    import com.google.common.collect.ImmutableList;
    import com.google.common.io.SourceSinkFactory.ByteSourceFactory;
    import com.google.common.io.SourceSinkFactory.CharSourceFactory;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.Reader;
    import java.io.StringWriter;
    import java.lang.reflect.Method;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/ByteSourceTester.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.hash.Hashing.sha512;
    import static com.google.common.io.SourceSinkFactory.ByteSourceFactory;
    import static com.google.common.io.SourceSinkFactory.CharSourceFactory;
    import static java.nio.charset.StandardCharsets.UTF_8;
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertThrows;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/io/CharSinkTester.java

     */
    
    package com.google.common.io;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.base.Joiner;
    import com.google.common.collect.ImmutableList;
    import com.google.common.io.SourceSinkFactory.CharSinkFactory;
    import java.io.IOException;
    import java.io.Writer;
    import java.lang.reflect.Method;
    import java.util.Map.Entry;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.hash.Hashing.sha512;
    import static com.google.common.io.SourceSinkFactory.ByteSourceFactory;
    import static com.google.common.io.SourceSinkFactory.CharSourceFactory;
    import static java.nio.charset.StandardCharsets.UTF_8;
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertThrows;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/io/CharSinkTester.java

     */
    
    package com.google.common.io;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.base.Joiner;
    import com.google.common.collect.ImmutableList;
    import com.google.common.io.SourceSinkFactory.CharSinkFactory;
    import java.io.IOException;
    import java.io.Writer;
    import java.lang.reflect.Method;
    import java.util.Map.Entry;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.5K bytes
    - Click Count (0)
Back to Top