HomeSort by relevance Sort by last modified time
    Searched refs:ByteSourceFactory (Results 1 - 3 of 3) sorted by null

  /external/guava/guava-tests/test/com/google/common/io/
SourceSinkFactories.java 21 import static com.google.common.io.SourceSinkFactory.ByteSourceFactory;
57 public static ByteSourceFactory byteArraySourceFactory() {
61 public static ByteSourceFactory emptyByteSourceFactory() {
69 public static ByteSourceFactory fileByteSourceFactory() {
95 public static ByteSourceFactory urlByteSourceFactory() {
103 public static CharSourceFactory asCharSourceFactory(final ByteSourceFactory factory) {
154 public static ByteSourceFactory asSlicedByteSourceFactory(final ByteSourceFactory factory,
157 return new ByteSourceFactory() {
193 private static class ByteArraySourceFactory implements ByteSourceFactory {
    [all...]
SourceSinkFactory.java 81 public interface ByteSourceFactory extends SourceFactory<ByteSource, byte[]> {
ByteSourceTester.java 19 import static com.google.common.io.SourceSinkFactory.ByteSourceFactory;
47 public class ByteSourceTester extends SourceSinkTester<ByteSource, byte[], ByteSourceFactory> {
52 static TestSuite tests(String name, ByteSourceFactory factory, boolean testAsCharSource) {
65 private static TestSuite suiteForString(ByteSourceFactory factory, String string,
74 private static TestSuite suiteForBytes(ByteSourceFactory factory, byte[] bytes,
88 ByteSourceFactory sliced = SourceSinkFactories.asSlicedByteSourceFactory(factory, off, len);
98 public ByteSourceTester(ByteSourceFactory factory, byte[] bytes,

Completed in 553 milliseconds