Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 106 for ReadLine (0.09 sec)

  1. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

            try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) {
                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

            sitemapSet.setType(SitemapSet.URLSET);
    
            try {
                final BufferedReader br = new BufferedReader(new InputStreamReader(in, Constants.UTF_8));
                String line;
                while ((line = br.readLine()) != null) {
                    final String url = line.trim();
                    if (StringUtil.isNotBlank(url) && (url.startsWith("http://") || url.startsWith("https://"))) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                    this.getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest_settings_array.json")));) {
    
                String line;
                while ((line = br.readLine()) != null) {
                    sb.append(line);
                }
            }
            return sb.toString().replaceAll(Pattern.quote("${fess.dictionary.path}"), dictionaryPath);
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

            try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) {
                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
                            updater.write(line);
                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            new Thread(() -> {
                try {
                    BufferedReader reader = new BufferedReader(new InputStreamReader(forkedProcessOutput));
                    String line;
                    while ((line = reader.readLine()) != null) {
                        ps.println(line);
                    }
                } catch (Exception e) {
                    e.printStackTrace();
                } finally {
                    latch.countDown();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                        final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(con.getOutputStream(), Constants.CHARSET_UTF_8))) {
                    String line;
                    while ((line = br.readLine()) != null) {
                        if (StringUtil.isNotBlank(line)) {
                            final Map<String, Map<String, String>> dataObj;
                            if (line.contains("\"_index\"") || line.contains("\"_type\"")) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/Crawler.java

                            try {
                                while (!reader.ready()) {
                                    ThreadUtil.sleep(1000L);
                                }
                                command = reader.readLine().trim();
                                if (logger.isDebugEnabled()) {
                                    logger.debug("Process command: {}", command);
                                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/ByteStreams.java

            return input.readDouble();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        @CheckForNull
        public String readLine() {
          try {
            return input.readLine();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public String readUTF() {
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/FilesTest.java

        assertThrows(NullPointerException.class, () -> Files.newReader(null, UTF_8));
    
        BufferedReader r = Files.newReader(asciiFile, US_ASCII);
        try {
          assertEquals(ASCII, r.readLine());
        } finally {
          r.close();
        }
      }
    
      public void testNewWriter() throws IOException {
        File temp = createTempFile();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            if ( ( read(this.tmp, 0, 8) ) < 0 ) {
                throw new SmbEndOfFileException();
            }
            return Encdec.dec_doublebe(this.tmp, 0);
        }
    
    
        @Override
        public final String readLine () throws SmbException {
            StringBuffer input = new StringBuffer();
            int c = -1;
            boolean eol = false;
    
            while ( !eol ) {
                switch ( c = read() ) {
                case -1:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
Back to top