- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for decodeId (0.06 sec)
-
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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.1K bytes - Viewed (0) -
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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/FacetResponseTest.java
// Test that unicode strings are properly encoded/decoded String unicodeString = "日本語テスト"; String encoded = BaseEncoding.base64().encode(unicodeString.getBytes(StandardCharsets.UTF_8)); String decoded = new String(BaseEncoding.base64().decode(encoded), StandardCharsets.UTF_8); assertEquals(unicodeString, decoded); } public void test_special_characters_base64_encoding() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java
if (encoded != null) { String decoded = permissionHelper.decode(encoded); assertNotNull("Decoded value should not be null for: " + value, decoded); assertEquals("Decoded value should match original: " + value + " -> " + encoded + " -> " + decoded, value, decoded); } } } public void test_encode_withLongValues() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Base64Util.java
encode1pad(inData, num * 3, outData, num * 4); } return new String(outData); } /** * Decodes data encoded in Base64. * * @param inData * The data to decode * @return The decoded data */ public static byte[] decode(final String inData) { if (StringUtil.isEmpty(inData)) { return null; }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
} } private static void testEncoding(BaseEncoding encoding, String decoded, String encoded) { testEncodes(encoding, decoded, encoded); testDecodes(encoding, encoded, decoded); } private static void testEncodes(BaseEncoding encoding, String decoded, String encoded) { assertThat(encoding.encode(decoded.getBytes(UTF_8))).isEqualTo(encoded); } private static void testEncodesWithOffset(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
* The encoding scheme. Must not be {@literal null} or empty. * @return The decoded string. */ public static String decode(final String s, final String enc) { assertArgumentNotEmpty("s", s); assertArgumentNotEmpty("enc", enc); try { return URLDecoder.decode(s, enc); } catch (final UnsupportedEncodingException e) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PermissionHelper.java
return permission; } /** * Decodes a search role format string back to a permission string. * Reverses the encoding process to restore original permission format. * * @param value the encoded permission string to decode * @return the decoded permission string, or null if the input is blank or invalid */ public String decode(final String value) { if (StringUtil.isBlank(value)) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.3K bytes - Viewed (0) -
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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.3K bytes - Viewed (0)