Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for EncodeToString (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/JcifsEngine.java

            final Type1Message type1Message = new Type1Message(cifsContext, TYPE_1_FLAGS, domain, workstation);
            return Base64.getEncoder().encodeToString(type1Message.toByteArray());
        }
    
        /**
         * Generates a Type 3 NTLM message.
         *
         * @param username the username
         * @param password the password
         * @param domain the domain
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            assertNotNull(id);
            assertEquals(Base64.getEncoder().encodeToString(text.getBytes(CoreLibConstants.CHARSET_UTF_8)), id);
    
            // Test empty text
            String emptyText = "";
            String emptyId = SuggestUtil.createSuggestTextId(emptyText);
            assertNotNull(emptyId);
            assertEquals(Base64.getEncoder().encodeToString(emptyText.getBytes(CoreLibConstants.CHARSET_UTF_8)), emptyId);
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

        /**
         * Create ID.
         * @param key Key
         * @param value Value
         * @return ID
         */
        protected String createId(final String key, final Object value) {
            return encoder.encodeToString(("key:" + key + "value:" + value).getBytes(CoreLibConstants.CHARSET_UTF_8));
        }
    
        /**
         * Get values from array index.
         * @param index Index
         * @param type Type
         * @param key Key
    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. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         *
         * @param text the input text to be encoded
         * @return the encoded string, truncated if necessary
         */
        public static String createSuggestTextId(final String text) {
            final String id = encoder.encodeToString(text.getBytes(CoreLibConstants.CHARSET_UTF_8));
            if (id.length() > 445) {
                return id.substring(0, ID_MAX_LENGTH);
            }
            return id;
        }
    
        /**
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (1)
Back to top