Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for encodeJsp (0.09 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            final String jspType = "view";
            final File jspFile = getJspFile(form.fileName, jspType);
            try {
                form.content = encodeJsp(new String(FileUtil.readBytes(jspFile), Constants.UTF_8));
            } catch (final UnsupportedEncodingException e) {
                throw new FessSystemException("Invalid encoding", e);
            }
            saveToken();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/xml/DomUtil.java

                return new ByteArrayInputStream(contents.getBytes(encoding));
            } catch (final UnsupportedEncodingException ex) {
                throw new IORuntimeException(ex);
            }
        }
    
        /**
         * Encodes the value of an attribute.
         *
         * @param s
         *            The attribute value.
         * @return The encoded attribute value.
         */
        public static String encodeAttrQuot(final String s) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                    }
                    query = buf.toString();
                    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) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

         * Default constructor for PermissionHelper.
         * Initializes the permission helper with default configuration.
         */
        public PermissionHelper() {
            // Default constructor
        }
    
        /**
         * Encodes a permission string into a search role format.
         * Processes user, group, and role prefixes along with allow/deny prefixes.
         *
         * @param value the permission string to encode
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

        // We've successfully read a byte.
        address[b++] = value.toByte()
      }
    
      // Check for too few groups. We wanted exactly four.
      return b == addressOffset + 4
    }
    
    /** Encodes an IPv6 address in canonical form according to RFC 5952. */
    internal fun inet6AddressToAscii(address: ByteArray): String {
      // Go through the address looking for the longest run of 0s. Each group is 2-bytes.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/CharSource.java

    @J2ktIncompatible
    @GwtIncompatible
    public abstract class CharSource {
    
      /** Constructor for use by subclasses. */
      protected CharSource() {}
    
      /**
       * Returns a {@link ByteSource} view of this char source that encodes chars read from this source
       * as bytes using the given {@link Charset}.
       *
       * <p>If {@link ByteSource#asCharSource} is called on the returned source with the same charset,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/CharSource.java

    @J2ktIncompatible
    @GwtIncompatible
    public abstract class CharSource {
    
      /** Constructor for use by subclasses. */
      protected CharSource() {}
    
      /**
       * Returns a {@link ByteSource} view of this char source that encodes chars read from this source
       * as bytes using the given {@link Charset}.
       *
       * <p>If {@link ByteSource#asCharSource} is called on the returned source with the same charset,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                    }
                });
                return sessionIdList;
            });
        }
    
        /**
         * Generates a hashed ID from the provided URL ID string.
         * Encodes special characters using URL encoding or Base64 encoding as needed,
         * then applies a message digest algorithm to create a unique hash.
         *
         * @param urlId the URL ID string to generate a hash for
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to decode {}", hash, e);
                    }
                }
            }
            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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/IntsTest.java

        }
        assertWithMessage("Hex string and dec parm").that(Ints.tryParse("FFFF", 10)).isNull();
        assertWithMessage("Mixed hex case").that((int) Ints.tryParse("ffFF", 16)).isEqualTo(65535);
      }
    
      /**
       * Encodes an integer as a string with given radix, then uses {@link Ints#tryParse(String, int)}
       * to parse the result. Asserts the result is the same as what we started with.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
Back to top