Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for Encode (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

                        responseParams.stream().forEach(p -> {
                            try {
                                buf.append(URLEncoder.encode(p.getFirst(), encoding));
                                buf.append('=');
                                buf.append(URLEncoder.encode(p.getSecond(), encoding));
                            } catch (final UnsupportedEncodingException e) {
                                throw new IORuntimeException(e);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (1)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                logger.warn("Malformed URL: " + attrValue, e);
            }
        }
    
        /**
         * Encodes a URL using the specified character encoding.
         *
         * @param url the URL to encode
         * @param enc the character encoding to use
         * @return the encoded URL
         */
        protected String encodeUrl(final String url, final String enc) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                        if (StringUtil.isAsciiPrintable(str)) {
                            buf.append(c);
                        } else {
                            buf.append(URLEncoder.encode(str, charset));
                        }
                    }
                }
            } catch (final UnsupportedEncodingException e) {
                return filePath;
            }
            return buf.toString();
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

         * @return The generated unique ID.
         */
        private String getId(final String sessionId, final String url) {
            final String id = sessionId + ID_SEPARATOR + new String(Base64.getUrlEncoder().withoutPadding().encode(url.getBytes(UTF_8)), UTF_8);
            if (id.length() <= idPrefixLength) {
                return id;
            }
            return id.substring(0, idPrefixLength) + MessageDigestUtil.digest("SHA-256", id.substring(idPrefixLength));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

         * Decodes the given host string using the specified encoding.
         *
         * @param host the host string to decode
         * @return the decoded host string
         */
        protected String decode(final String host) {
            if (host.indexOf('%') == -1) {
                return host;
            }
            try {
                return URLDecoder.decode(host, encoding);
            } catch (final UnsupportedEncodingException e) {
                return host;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/JcifsEngine.java

            }
        }
    
        /**
         * Generates a Type 1 NTLM message.
         *
         * @param domain the domain name
         * @param workstation the workstation name
         * @return the Base64-encoded Type 1 message
         * @throws NTLMEngineException if an NTLM engine error occurs
         */
        @Override
        public String generateType1Msg(final String domain, final String workstation) throws NTLMEngineException {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

        private static final Base64.Encoder encoder = Base64.getEncoder();
    
        private static final int ID_MAX_LENGTH = 445;
    
        /**
         * Private constructor to prevent instantiation.
         */
        private SuggestUtil() {
        }
    
        /**
         * Creates a unique identifier for the given text by encoding it to a Base64 string.
         * If the encoded string exceeds the maximum allowed length, it truncates the string
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (1)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

                final XPathNodes nodeList = getXPathAPI().selectNodeList(document, targetNodePath);
                for (int i = 0; i < nodeList.size(); i++) {
                    final Node node = nodeList.get(i);
                    buf.append(node.getTextContent()).append(' ');
                }
                return new ExtractData(buf.toString().replaceAll("\\s+", " ").trim());
            } catch (final Exception e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. fess-crawler-lasta/src/main/resources/crawler/encoding.xml

    <components namespace="fessCrawler">
    	<include path="crawler/container.xml" />
    
    	<component name="encodingHelper" class="org.codelibs.fess.crawler.helper.EncodingHelper">
    		<postConstruct name="addEncodingMapping">
    			<arg>"unicode"</arg>
    			<arg>"UTF-16LE"</arg>
    		</postConstruct>
    	</component>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Fri Jun 16 13:35:06 UTC 2017
    - 454 bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

        /**
         * Use an XPath string to select a single node.
         *
         * @param contextNode The node to start searching from.
         * @param expression A valid XPath string.
         * @return The first node found that matches the XPath, or null.
         *
         * @throws XPathExpressionException if an XPath expression error occurs.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top