Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 110 for rtrim (0.9 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

         */
        protected String crawlingConfigInternal(final CrawlingConfigForm form) {
    
            String configName = form.crawlingConfigName;
            String configPath = form.crawlingConfigPath.trim();
            if (StringUtil.isBlank(configName)) {
                configName = StringUtils.abbreviate(configPath, 30);
            }
    
            // normalize
            final StringBuilder buf = new StringBuilder(1000);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to read data.", e);
                    }
                    return StringUtil.EMPTY;
                }
    
                return buf.toString().trim();
            }
    
            private boolean isSpaceChar(final int c) {
                for (final int spaceChar : spaceChars) {
                    if (c == spaceChar) {
                        return true;
                    }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

            assertTrue(responseData.getUrl().endsWith("test/text1.txt"));
            final String content = new String(InputStreamUtil.getBytes(responseData.getResponseBody()), "UTF-8");
            assertEquals("test1", content.trim());
        }
    
        public void test_doGet_file_with_space() throws Exception {
            final File file = ResourceUtil.getResourceAsFile("test/text 3.txt");
            String path = file.getAbsolutePath();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:59:28 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                final int[] tmp = new int[3];
                final StringTokenizer st = new StringTokenizer(RO, ",");
                int i = 0;
                while (st.hasMoreTokens()) {
                    final String s = st.nextToken().trim();
                    if (s.equalsIgnoreCase("LMHOSTS")) {
                        tmp[i] = RESOLVER_LMHOSTS;
                        i++;
                    } else if (s.equalsIgnoreCase("WINS")) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

                    final Node node = nodeList.get(i);
                    buf.append(node.getTextContent()).append(' ');
                }
                return new ExtractData(buf.toString().replaceAll("\\s+", " ").trim());
            } catch (final Exception e) {
                throw new ExtractException(e);
            }
        }
    
        /**
         * Gets an XPathAPI instance from the cache for the current thread.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Oct 04 08:47:19 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JsonExtractor.java

                extractContent(rootNode, "", textBuilder, metadataMap, 0);
    
                final ExtractData extractData = new ExtractData(textBuilder.toString().trim());
    
                if (extractMetadata) {
                    for (final Map.Entry<String, List<String>> entry : metadataMap.entrySet()) {
                        final List<String> values = entry.getValue();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

                final List<Integer> list = new ArrayList<>();
                for (final String value : values) {
                    try {
                        list.add(Integer.parseInt(value.trim()));
                    } catch (final NumberFormatException e) {}
                }
                this.days = new int[list.size()];
                for (int i = 0; i < list.size(); i++) {
                    this.days[i] = list.get(i);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                String line = null;
                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
                    if (replacedLine.length() == 0) {
                        if (updater != null) {
                            updater.write(line);
                        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

         */
        static String getValue(final List<String> list, final int index) {
            if (index >= list.size()) {
                return StringUtil.EMPTY;
            }
            String item = list.get(index).trim();
            if (StringUtil.isBlank(item)) {
                return StringUtil.EMPTY;
            }
            if (item.length() > 1 && item.charAt(0) == '"' && item.charAt(item.length() - 1) == '"') {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  10. 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={}", command);
                                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 31.4K bytes
    - Viewed (0)
Back to top