Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for encodes (1.84 sec)

  1. src/main/java/org/codelibs/core/misc/Base64Util.java

         */
        protected Base64Util() {
        }
    
        /**
         * Encodes data in Base64.
         * <p>
         * This method uses {@link java.util.Base64.Encoder} for encoding.
         * </p>
         *
         * @param inData
         *            The data to encode
         * @return The encoded data, or an empty string if the input is null or empty
         */
        public static String encode(final byte[] inData) {
            if (ArrayUtil.isEmpty(inData)) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

        }
    
        /**
         * Encodes an object name to a URL-safe base64 string.
         *
         * @param objectName the object name to encode
         * @return base64 encoded string
         */
        private String encodeId(final String objectName) {
            if (objectName == null) {
                return StringUtil.EMPTY;
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                    request.setAttribute(key, query);
                }
                return query;
            }).orElse(null);
        }
    
        /**
         * Encodes a string to URL-safe Base64 format.
         *
         * @param value the string to encode
         * @return Base64 encoded string, or empty string if value is null
         */
        public static String base64(final String value) {
            if (value == null) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
  4. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            assertEquals(0, queryList.size());
        }
    
        // Additional tests for createSuggestTextId boundary cases
        @Test
        public void testCreateSuggestTextIdBoundaryExactly445() {
            // Create text that encodes to exactly 445 characters
            // Base64 encoding increases size by ~4/3, so original size should be ~333 bytes
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 333; i++) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

        }
    
        /**
         * Encodes an object name to a URL-safe base64 string.
         *
         * @param objectName the object name to encode
         * @return base64 encoded string
         */
        private String encodeId(final String objectName) {
            if (objectName == null) {
                return StringUtil.EMPTY;
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

                }, errorHook);
            }
        }
    
        /**
         * Encodes permission strings into an array.
         *
         * @param permissionsText the permissions text (newline-separated)
         * @return encoded permission array
         */
        protected static String[] encodePermissions(final String permissionsText) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                    }
                }
            }
            return hash;
        }
    
        /**
         * Encodes a similar document hash using GZIP compression and Base64 encoding.
         * This reduces storage space for hash values while maintaining uniqueness.
         *
         * @param hash the hash string to encode
         * @return the encoded hash string with prefix, or the original hash if encoding fails
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        }
    
        /**
         * Encodes an object name to a URL-safe base64 string.
         *
         * @param objectName the object name to encode
         * @return base64 encoded string
         */
        protected static String encodeId(final String objectName) {
            if (objectName == null) {
                return StringUtil.EMPTY;
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/curl/CurlRequest.java

            }
        }
    
        /**
         * Encodes the specified value using the character encoding.
         *
         * @param value the value to encode
         * @return the encoded value
         * @throws CurlException if the encoding is unsupported
         */
        protected String encode(final String value) {
            try {
                return URLEncoder.encode(value, encoding);
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                    }
                    try {
                        final String encoded = serializeParameters(parameters);
                        if (encoded.length() > fessConfig.getCookieSearchParameterMaxLengthAsInteger()) {
                            logger.warn("Encoded search parameters exceed the maximum cookie length: {} > {}. Skipping cookie storage.",
                                    encoded.length(), fessConfig.getCookieSearchParameterMaxLengthAsInteger());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 36.3K bytes
    - Viewed (0)
Back to top