Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for substring (0.17 sec)

  1. src/main/java/org/codelibs/fess/util/ParameterUtil.java

                            paramMap.put("unknown." + (unknownKey + 1), line.substring(pos + 1).trim());
                            unknownKey++;
                        } else if (pos > 0) {
                            final String key = line.substring(0, pos).trim();
                            if (pos < line.length()) {
                                String data = line.substring(pos + 1).trim();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/StringUtil.java

                    pos2 = fromText.length();
                } else if (pos > 0) {
                    buf.append(text.substring(pos2, pos));
                    buf.append(toText);
                    pos2 = pos + fromText.length();
                } else {
                    buf.append(text.substring(pos2));
                    break;
                }
            }
            return new String(buf);
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

                        locationBuf.append(contextPath);
                    }
                    locationBuf.append('/');
                    locationBuf.append(servletPath.substring(path.length()));
                    boolean append = false;
                    final Map<String, String[]> parameterMap = new HashMap<>(req.getParameterMap());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                final String value = decodeUrlAsName(url.substring(9), true);
                return abbreviateSite("\\\\" + value.replace('/', '\\'));
            }
            if (url.startsWith("file:")) {
                final String value = decodeUrlAsName(url.substring(5), true);
                if (value.length() > 2 && value.charAt(2) == ':') {
                    // Windows
                    return abbreviateSite(value.substring(1).replace('/', '\\'));
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/QueryContext.java

                    this.queryString = queryString.substring(ALLINURL_FIELD_PREFIX.length());
                } else if (queryString.startsWith(ALLINTITLE_FIELD_PREFIX)) {
                    this.defaultField = ComponentUtil.getFessConfig().getIndexFieldTitle();
                    this.queryString = queryString.substring(ALLINTITLE_FIELD_PREFIX.length());
                } else {
                    this.queryString = queryString;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/BadWordService.java

                    try {
                        boolean isDelete = false;
                        if (targetWord.startsWith(DELETE_PREFIX)) {
                            isDelete = true;
                            targetWord = targetWord.substring(2);
                        }
                        final String target = targetWord;
                        BadWord badWord = badWordBhv.selectEntity(cb -> cb.query().setSuggestWord_Equal(target)).orElse(null);//TODO
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

        }
    
        public ConfigType getConfigType(final String configId) {
            if (configId == null || configId.length() < 2) {
                return null;
            }
            final String configType = configId.substring(0, 1);
            if (ConfigType.WEB.getTypePrefix().equals(configType)) {
                return ConfigType.WEB;
            }
            if (ConfigType.FILE.getTypePrefix().equals(configType)) {
                return ConfigType.FILE;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

            final Path jsPath = ResourceUtil.getJavaScriptPath(themeName);
            closeQuietly(jsPath);
        }
    
        protected String getThemeName(final Artifact artifact) {
            final String themeName = artifact.getName().substring(ArtifactType.THEME.getId().length() + 1);
            if (StringUtil.isBlank(themeName)) {
                throw new ThemeException("Theme name is empty: " + artifact);
            }
            return themeName;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

            for (final Map.Entry<String, String> entry : paramMap.entrySet()) {
                final String key = entry.getKey();
                if (key.startsWith(CRAWLER_PARAM_PREFIX)) {
                    factoryParamMap.put(key.substring(CRAWLER_PARAM_PREFIX.length()), entry.getValue());
                }
            }
    
            // user agent
            final String userAgent = paramMap.get(CRAWLER_USERAGENT);
            if (StringUtil.isNotBlank(userAgent)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/ResourceUtil.java

         */
        public static String getExtension(final String path) {
            assertArgumentNotNull("path", path);
    
            final int extPos = path.lastIndexOf(".");
            if (extPos >= 0) {
                return path.substring(extPos + 1);
            }
            return null;
        }
    
        /**
         * パスから拡張子を取り除きます。
         *
         * @param path
         *            パス。{@literal null}であってはいけません
         * @return 拡張子を取り除いたパス
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 15.8K bytes
    - Viewed (0)
Back to top