Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 266 for StringUtil (0.18 sec)

  1. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            if (title == null) {
                return StringUtil.EMPTY; // empty
            }
    
            final int[] spaceChars = getSpaceChars();
            try (final Reader reader = new StringReader(title)) {
                return TextUtil.normalizeText(reader).initialCapacity(title.length()).spaceChars(spaceChars).execute();
            } catch (final IOException e) {
                return StringUtil.EMPTY; // empty
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

                final String httpAddress = SystemUtil.getSearchEngineHttpAddress();
                if (StringUtil.isNotBlank(httpAddress)) {
                    cmdList.add("-D" + Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS + "=" + httpAddress);
                }
            }
    
            final String systemLastaEnv = System.getProperty("lasta.env");
            if (StringUtil.isNotBlank(systemLastaEnv)) {
                if ("web".equals(systemLastaEnv)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/SuggestJob.java

                final String httpAddress = SystemUtil.getSearchEngineHttpAddress();
                if (StringUtil.isNotBlank(httpAddress)) {
                    cmdList.add("-D" + Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS + "=" + httpAddress);
                }
            }
    
            final String systemLastaEnv = System.getProperty("lasta.env");
            if (StringUtil.isNotBlank(systemLastaEnv)) {
                if ("web".equals(systemLastaEnv)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/FacetInfo.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            if (StringUtil.isNotBlank(fessConfig.getQueryFacetFields())) {
                field = StreamUtil.split(fessConfig.getQueryFacetFields(), ",")
                        .get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).distinct().toArray(n -> new String[n]));
            }
            if (StringUtil.isNotBlank(fessConfig.getQueryFacetFieldsSize())) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/net/UuidUtil.java

    import org.codelibs.core.lang.StringUtil;
    
    /**
     * UUIDを作成するユーティリティです。
     *
     * @author higa
     */
    public abstract class UuidUtil {
    
        private static final byte[] DEFAULT_ADDRESS = new byte[] { (byte) 127, (byte) 0, (byte) 0, (byte) 1 };
    
        private static final SecureRandom RANDOM = new SecureRandom();
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingConfig.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String proxyHost = fessConfig.getHttpProxyHost();
            final String proxyPort = fessConfig.getHttpProxyPort();
            if (StringUtil.isNotBlank(proxyHost) && StringUtil.isNotBlank(proxyPort)) {
                paramMap.put(Param.Client.PROXY_HOST, proxyHost);
                paramMap.put(Param.Client.PROXY_PORT, proxyPort);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

                            }
                        }
                    }
                    hash = buf.toString();
                } else {
                    hash = StringUtil.EMPTY;
                }
            } else {
                hash = StringUtil.EMPTY;
            }
    
            if (!isFileSystemPath(targetUrl)) {
                return HtmlResponse.fromRedirectPathAsIs(DocumentUtil.encodeUrl(targetUrl + hash));
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

    import java.util.LinkedHashMap;
    import java.util.Map;
    
    import org.apache.commons.lang3.StringUtils;
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.stream.StreamUtil;
    import org.codelibs.fess.util.ComponentUtil;
    
    import jakarta.annotation.PostConstruct;
    
    public class FileTypeHelper {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ViewHelper.java

        }
    
        public HighlightInfo createHighlightInfo() {
            return LaRequestUtil.getOptionalRequest().map(req -> {
                final HighlightInfo highlightInfo = new HighlightInfo();
                final String widthStr = req.getParameter(SCREEN_WIDTH);
                if (StringUtil.isNotBlank(widthStr)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

            return StringUtil.isBlank(s) ? StringUtil.EMPTY : "/" + s;
        }
    
        public String getVirtualHostKey() {
            return LaRequestUtil.getOptionalRequest().map(req -> (String) req.getAttribute(FessConfig.VIRTUAL_HOST_VALUE)).orElseGet(() -> {
                final String value = processVirtualHost(s -> s, StringUtil.EMPTY);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top