Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 27 for BufferedReader (0.07 seconds)

  1. android/guava/src/com/google/common/io/CharSource.java

        return (reader instanceof BufferedReader)
            ? (BufferedReader) reader
            : new BufferedReader(reader);
      }
    
      /**
       * Opens a new {@link Stream} for reading text one line at a time from this source. This method
       * returns a new, independent stream each time it is called.
       *
       * <p>The returned stream is lazy and only reads from the source in the terminal operation. If an
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/io/LineBufferTest.java

          off += len;
        }
        lineBuf.finish();
        return lines;
      }
    
      private static List<String> readUsingJava(String input, int chunk) throws IOException {
        BufferedReader r = new BufferedReader(getChunkedReader(input, chunk));
        List<String> lines = new ArrayList<>();
        String line;
        while ((line = r.readLine()) != null) {
          lines.add(line);
        }
        r.close();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

            int lineNumber = 0;
            List<Error> errorsForFile = new ArrayList<>();
            File sourceFile = getReleaseNotesFile().get().getAsFile();
    
            try (BufferedReader br = new BufferedReader(new FileReader(sourceFile))) {
                String line = br.readLine();
                while (line != null) {
                    lineNumber++;
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 23:22:57 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/util/SettingsResourceLoader.java

                if (is == null) {
                    throw new IOException("Resource not found: " + resourcePath);
                }
                try (BufferedReader br = new BufferedReader(new InputStreamReader(is))) {
                    String line;
                    while ((line = br.readLine()) != null) {
                        sb.append(line);
                    }
                }
            }
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

            final String dictionaryPath = System.getProperty("fess.dictionary.path", StringUtil.EMPTY);
            final StringBuilder sb = new StringBuilder();
            try (BufferedReader br =
                    new BufferedReader(new InputStreamReader(this.getClass().getClassLoader().getResourceAsStream(getSuggestAnalyzerPath())))) {
    
                String line;
                while ((line = br.readLine()) != null) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  6. .teamcity/scripts/CheckWrapper.java

            String originalHead = stdout("git", "rev-parse", "HEAD").trim();
    
            List<String> commits;
            try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in, StandardCharsets.UTF_8))) {
                commits = br.lines()
                    .map(String::trim)
                    .filter(s -> !s.isEmpty())
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 20 03:53:25 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  7. .teamcity/scripts/CheckBadMerge.java

                }
            } finally {
                THREAD_POOL.shutdown();
            }
        }
    
        private static List<String> readCommitsFromStdin() throws IOException {
            try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in, StandardCharsets.UTF_8))) {
                return br.lines()
                    .map(String::trim)
                    .filter(s -> !s.isEmpty())
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 16:25:09 GMT 2026
    - 9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                ThreadDumpUtil.writeThreadDump(tempFile.toString());
    
                // Read and verify file content
                List<String> lines = new ArrayList<>();
                try (BufferedReader reader =
                        new BufferedReader(new InputStreamReader(new FileInputStream(tempFile.toFile()), Constants.CHARSET_UTF_8))) {
                    String line;
                    while ((line = reader.readLine()) != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/io/CharSourceTester.java

    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;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map.Entry;
    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)
  10. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            final String dictionaryPath = System.getProperty("fess.dictionary.path", StringUtil.EMPTY);
            final StringBuilder sb = new StringBuilder();
            try (BufferedReader br = new BufferedReader(
                    new InputStreamReader(this.getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest_settings.json")));) {
    
                String line;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
Back to Top