Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for asCharSourceFactory (0.23 sec)

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

          ByteSourceFactory factory, String string, String name, String desc) {
        TestSuite suite = suiteForBytes(factory, string.getBytes(UTF_8), name, desc, true);
        CharSourceFactory charSourceFactory = SourceSinkFactories.asCharSourceFactory(factory);
        suite.addTest(
            CharSourceTester.suiteForString(
                charSourceFactory, string, name + ".asCharSource[Charset]", desc));
        return suite;
      }
    
      static TestSuite suiteForBytes(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

          }
    
          @Override
          public void tearDown() throws IOException {
            factory.tearDown();
          }
        };
      }
    
      public static CharSourceFactory asCharSourceFactory(final ByteSourceFactory factory) {
        checkNotNull(factory);
        return new CharSourceFactory() {
          @Override
          public CharSource createSource(String string) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/SourceSinkFactories.java

          }
    
          @Override
          public void tearDown() throws IOException {
            factory.tearDown();
          }
        };
      }
    
      public static CharSourceFactory asCharSourceFactory(final ByteSourceFactory factory) {
        checkNotNull(factory);
        return new CharSourceFactory() {
          @Override
          public CharSource createSource(String string) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.7K bytes
    - Viewed (0)
Back to top