Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for decodeTo (0.08 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

                        final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
                        form.permissions = stream(entity.getPermissions()).get(stream -> stream.map(permissionHelper::decode)
                                .filter(StringUtil::isNotBlank)
                                .distinct()
                                .collect(Collectors.joining("\n")));
                        form.crudMode = crudMode;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

                }
            }
    
            final String targetUrl = pathMappingHelper.replaceUrl(url);
    
            String hash;
            if (StringUtil.isNotBlank(form.hash)) {
                final String value = URLUtil.decode(form.hash, Constants.UTF_8);
                if (targetUrl.indexOf('#') == -1) {
                    final StringBuilder buf = new StringBuilder(value.length() + 100);
                    for (final char c : value.toCharArray()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/JcifsEngine.java

                final String challenge) throws NTLMEngineException {
            Type2Message type2Message;
            try {
                type2Message = new Type2Message(Base64.getDecoder().decode(challenge));
            } catch (final IOException exception) {
                throw new NTLMEngineException("Invalid NTLM type 2 message", exception);
            }
            final int type2Flags = type2Message.getFlags();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top