Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for decodeId (0.35 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          return decode(certificatePem, pkcs8Base64)
        }
    
        private fun decode(
          certificatePem: String,
          pkcs8Base64Text: String,
        ): HeldCertificate {
          val certificate = certificatePem.decodeCertificatePem()
    
          val pkcs8Bytes =
            pkcs8Base64Text.decodeBase64()
              ?: throw IllegalArgumentException("failed to decode private key")
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

        }
      }
    
      /**
       * This decodes a value into its contents using a preceding member of the same SEQUENCE. For
       * example, extensions type IDs specify what types to use for the corresponding values.
       *
       * If the hint is unknown [chooser] should return null which will cause the value to be decoded as
       * an opaque byte string.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top