Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for decodeId (0.17 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        }
    
        /**
         * Decodes a base64 encoded ID back to the original object name.
         *
         * @param id the encoded ID to decode
         * @return the decoded object name
         */
        protected static String decodeId(final String id) {
            if (id == 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)
  2. src/main/java/org/codelibs/core/misc/Base64Util.java

        }
    
        /**
         * Decodes data encoded in Base64.
         * <p>
         * This method uses {@link java.util.Base64.Decoder} for decoding.
         * </p>
         *
         * @param inData
         *            The data to decode
         * @return The decoded data, or null if the input is null or empty
         */
        public static byte[] decode(final String inData) {
            if (StringUtil.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)
  3. src/main/java/org/codelibs/fess/util/FacetResponse.java

            }
    
            /**
             * Gets the decoded name of this field facet.
             *
             * @return the field name
             */
            public String getName() {
                return name;
            }
    
        }
    
        /**
         * Gets the map of query facet counts.
         *
         * @return the queryCountMap containing decoded query strings and their counts
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 11:39:05 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

            assertNotNull("Encoded result should not be null", encoded);
            final byte[] decoded = Base64Util.decode(encoded);
            assertEquals("Decoded should have same length", 1, decoded.length);
            assertEquals("Decoded byte should match", singleByte[0], decoded[0]);
        }
    
        /**
         * Test encode with two bytes
         *
         * @throws Exception
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                }
            }
            return u;
        }
    
        /**
         * Decodes a URL as a name using appropriate character encoding.
         * Handles encoding detection from parent URLs and configuration settings.
         *
         * @param url the URL to decode
         * @param escapePlus whether to escape plus signs before decoding
         * @return the decoded URL name, or original URL if decoding fails
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            }
        }
    
        /**
         * Decodes a similar document hash from its compressed and encoded form.
         * Reverses the encoding process applied by encodeSimilarDocHash.
         *
         * @param hash the encoded hash string to decode
         * @return the decoded hash string, or the original hash if decoding 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)
  7. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

        }
    
        /**
         * Decodes a Base64 string to bytes.
         *
         * @param base64String the Base64 string to decode
         * @return the decoded bytes, or null if input is null
         */
        protected byte[] decodeBase64(String base64String) {
            if (base64String == null) {
                return null;
            }
            try {
                return BASE64_DECODER.decode(base64String);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Dec 14 01:18:25 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                data.register("displayFileName", getJspFile(form.fileName, "view").getAbsolutePath());
            });
        }
    
        /**
         * Decode the JSP content.
         * @param value The value.
         * @return The decoded value.
         */
        public static String decodeJsp(final String value) {
            return value.replaceAll("<%(?![@-])([\\s\\S]*?)%>", "&lt;%$1%&gt;")
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

                if (path != null && !path.isEmpty()) {
                    final String pathWithoutLeadingSlash = path.startsWith("/") ? path.substring(1) : path;
                    // Decode URL-encoded characters (e.g., %20 -> space)
                    objectName = URLDecoder.decode(pathWithoutLeadingSlash, StandardCharsets.UTF_8);
                } else {
                    objectName = StringUtil.EMPTY;
                }
            }
    
            /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

                if (path != null && !path.isEmpty()) {
                    final String pathWithoutLeadingSlash = path.startsWith("/") ? path.substring(1) : path;
                    // Decode URL-encoded characters (e.g., %20 -> space)
                    objectName = URLDecoder.decode(pathWithoutLeadingSlash, StandardCharsets.UTF_8);
                } else {
                    objectName = StringUtil.EMPTY;
                }
            }
    
            /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top