Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for encodeTo (0.03 sec)

  1. 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)
  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. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

     * <li>{@link #settingsId}: ID of the settings.</li>
     * <li>{@link #settings}: SuggestSettings instance containing configuration settings.</li>
     * <li>{@link #encoder}: Base64 encoder instance for encoding IDs.</li>
     * </ul>
     */
    public class ArraySettings {
        private static final Logger logger = LogManager.getLogger(ArraySettings.class);
    
        /** OpenSearch client. */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  4. 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)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to put {}:{}", key, value, e);
                }
            }
        }
    
        /**
         * Decodes MIME-encoded text.
         *
         * @param value the encoded text to decode
         * @return the decoded text or empty string if decoding fails
         */
        protected String getDecodeText(final String value) {
            if (value == null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

        <glob pattern="*.p7c"/>
      </mime-type>
    
      <mime-type type="application/pkcs7-signature">
        <glob pattern="*.p7s"/>
        <magic priority="50">
          <!-- PEM encoded -->
          <match value="-----BEGIN PKCS7" type="string" offset="0"/>
          <!-- DER encoded, sequence+length, object=pkcs7-signedData -->
          <match value="0x3080" offset="0">
             <match value="0x06092a864886f70d0107FFa0" type="string"
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Mar 13 08:18:01 UTC 2025
    - 320.1K bytes
    - Viewed (1)
  9. 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)
Back to top