Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 37 for bufferedReader (0.18 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. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

         */
        protected static void updateDefaultBadwords() {
            if (defaultWords != null) {
                return;
            }
    
            final List<String> list = new ArrayList<>();
            try (BufferedReader br = new BufferedReader(new InputStreamReader(
                    Thread.currentThread().getContextClassLoader().getResourceAsStream("suggest_settings/default-badwords.txt")))) {
    
                String line;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Nov 23 03:02:17 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. .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)
  8. .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)
  9. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

            public InputStreamThread(final InputStream is, final String charset, final int maxOutputLineBuffer) {
                try {
                    br = new BufferedReader(new InputStreamReader(is, charset));
                } catch (final UnsupportedEncodingException e) {
                    br = new BufferedReader(new InputStreamReader(is, Constants.UTF_8_CHARSET));
                }
                maxLineBuffer = maxOutputLineBuffer;
            }
    
            /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

         * @param in The input stream.
         */
        protected void reload(final KuromojiUpdater updater, final InputStream in) {
            final List<KuromojiItem> itemList = new ArrayList<>();
            try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) {
                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    // Remove comments
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.7K bytes
    - Click Count (0)
Back to Top