Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for encodeToString (0.28 sec)

  1. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

                updatePagerByAgg(pager, buckets.size());
                return buckets.stream().map(e -> {
                    final Map<String, Object> map = new HashMap<>();
                    map.put(ID, Base64.getUrlEncoder().encodeToString(e.getKeyAsString().getBytes(StandardCharsets.UTF_8)));
                    map.put(KEY, e.getKeyAsString());
                    map.put(COUNT, e.getDocCount());
                    return map;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/DictionaryCreator.java

         *
         * @param path the file path to encode
         * @return the Base64 encoded path
         */
        protected String encodePath(final String path) {
            return Base64.getUrlEncoder().encodeToString(path.getBytes(Constants.CHARSET_UTF_8));
        }
    
        /**
         * Checks if the given path matches this creator's pattern.
         *
         * @param path the file path to check
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

                        final Map<String, Object> map = new HashMap<>();
                        final String name = filePath.getFileName().toString();
                        map.put("id", Base64.getUrlEncoder().encodeToString(name.getBytes(StandardCharsets.UTF_8)));
                        map.put("name", name);
                        try {
                            map.put("lastModified", new Date(Files.getLastModifiedTime(filePath).toMillis()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                        final String converted = URLEncoder.encode(target, Constants.UTF_8);
                        if (target.equals(converted)) {
                            encodedBuf.append(Base64.getUrlEncoder().encodeToString(target.getBytes(Constants.CHARSET_UTF_8)));
                        } else {
                            encodedBuf.append(converted);
                        }
                    } catch (final UnsupportedEncodingException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new User()).map(entity -> {
                    entity.setId(Base64.getUrlEncoder().encodeToString(form.name.getBytes(Constants.CHARSET_UTF_8)));
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CurlHelper.java

            if (StringUtil.isNotBlank(username) && StringUtil.isNotBlank(password)) {
                final String value = username + ":" + password;
                final String basicAuth = "Basic " + java.util.Base64.getEncoder().encodeToString(value.getBytes(StandardCharsets.UTF_8));
                request.header("Authorization", basicAuth);
            }
            if (sslSocketFactory != null) {
                request.sslSocketFactory(sslSocketFactory);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                    buf.append(encodeToString(prefix)).append("-,");
                }
                buf.append(encodeToString(textStart));
                if (StringUtil.isNotBlank(textEnd)) {
                    buf.append(',').append(encodeToString(textEnd));
                }
                if (StringUtil.isNotBlank(suffix)) {
                    buf.append(",-").append(encodeToString(suffix));
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         */
        public static String base64(final String value) {
            if (value == null) {
                return StringUtil.EMPTY;
            }
            return Base64.getUrlEncoder().encodeToString(value.getBytes(Constants.CHARSET_UTF_8));
        }
    
        /**
         * Checks if a file exists at the specified path within the servlet context.
         *
         * @param path the file path relative to the servlet context
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new Group()).map(entity -> {
                    entity.setId(Base64.getUrlEncoder().encodeToString(form.name.getBytes(Constants.CHARSET_UTF_8)));
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new Role()).map(entity -> {
                    entity.setId(Base64.getUrlEncoder().encodeToString(form.name.getBytes(Constants.CHARSET_UTF_8)));
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top