Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for StringReader (0.07 sec)

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

      public void testToString() throws IOException {
        assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT)));
      }
    
      public void testReadLines() throws IOException {
        List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc"));
        assertEquals(ImmutableList.of("a", "b", "c"), lines);
      }
    
      public void testReadLines_withLineProcessor() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharStreamsTest.java

      public void testToString() throws IOException {
        assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT)));
      }
    
      public void testReadLines() throws IOException {
        List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc"));
        assertEquals(ImmutableList.of("a", "b", "c"), lines);
      }
    
      public void testReadLines_withLineProcessor() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

                    + "                        \n";
    
            java.util.Properties props1 = new java.util.Properties();
            props1.load(new StringReader(config));
    
            MavenProperties props2 = new MavenProperties();
            props2.load(new StringReader(config));
    
            String s325 = props1.getProperty(" \r");
            assertEquals("\n \t \f", s325, "1");
            String s324 = props1.getProperty("a");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(ByteArrayInputStream.class, new ByteArrayInputStream(new byte[0]))
              .put(Readable.class, new StringReader(""))
              .put(Reader.class, new StringReader(""))
              .put(StringReader.class, new StringReader(""))
              .put(Buffer.class, ByteBuffer.allocate(0))
              .put(CharBuffer.class, CharBuffer.allocate(0))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

    import java.io.BufferedReader;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.Reader;
    import java.io.StringReader;
    import java.util.Base64;
    import java.util.HashSet;
    import java.util.Map;
    import java.util.Set;
    import java.util.zip.GZIPInputStream;
    import java.util.zip.GZIPOutputStream;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

    import com.google.common.io.BaseEncoding.DecodingException;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.Reader;
    import java.io.StringReader;
    import java.io.StringWriter;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@code BaseEncoding}.
     *
     * @author Louis Wasserman
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

            }
    
            String serializedModel = sWriter.toString();
            serializedModel = interpolate(serializedModel, model, projectDir, config, debugEnabled);
    
            StringReader sReader = new StringReader(serializedModel);
    
            MavenStaxReader modelReader = new MavenStaxReader();
            try {
                model = new Model(modelReader.read(sReader));
            } catch (XMLStreamException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(ByteArrayInputStream.class, new ByteArrayInputStream(new byte[0]))
              .put(Readable.class, new StringReader(""))
              .put(Reader.class, new StringReader(""))
              .put(StringReader.class, new StringReader(""))
              .put(Buffer.class, ByteBuffer.allocate(0))
              .put(CharBuffer.class, CharBuffer.allocate(0))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/CharSource.java

    import com.google.errorprone.annotations.MustBeClosed;
    import java.io.BufferedReader;
    import java.io.Closeable;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    import java.io.StringReader;
    import java.io.UncheckedIOException;
    import java.io.Writer;
    import java.nio.charset.Charset;
    import java.util.Iterator;
    import java.util.List;
    import java.util.function.Consumer;
    import java.util.stream.Stream;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.eclipse.sisu.plexus;
    
    import javax.inject.Inject;
    import javax.inject.Singleton;
    
    import java.io.StringReader;
    import java.lang.reflect.Array;
    import java.lang.reflect.InvocationTargetException;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.HashMap;
    import java.util.Map;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top