Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 298 for Encodings (0.04 sec)

  1. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

            return url;
        }
    
        /**
         * Extracts and processes the site path from a URL with proper encoding handling.
         * Removes protocol, query parameters, and applies URL decoding based on encoding settings.
         *
         * @param u the URL string to process
         * @param encoding the character encoding to use for URL decoding
         * @return the processed site path, abbreviated if necessary
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/EncodingHelper.java

     * It allows setting a default encoding, mapping various encoding names to preferred ones,
     * and normalizing an encoding string to its preferred form or the default if no mapping is found.
     */
    public class EncodingHelper {
    
        /** The default encoding to use when no mapping is found */
        protected String defaultEncoding;
    
        /** Map of encoding names to their preferred forms */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

    /**
     * Servlet filter for handling character encoding conversion and URL redirection.
     * This filter processes requests with specific encoding requirements and converts
     * character encodings according to configured mapping rules.
     *
     * <p>The filter intercepts requests matching configured path patterns and
     * redirects them with proper character encoding applied to parameters.</p>
     */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            verify(mockNdrBuffer).enc_ndr_referent(shareInfo502.security_descriptor, 1);
    
            // Verify string encodings
            verify(mockDeferredBuffer, times(4)).enc_ndr_string(anyString());
    
            // Verify security descriptor encoding
            verify(mockDeferredBuffer).enc_ndr_long(2);
            verify(mockDeferredBuffer).advance(2);
            verify(mockDeferredBuffer).enc_ndr_small((byte) 1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/Constants.java

    import java.nio.charset.StandardCharsets;
    
    /**
     * Constants used in the fess-crawler.
     * This class provides a collection of constant values for HTTP methods, status codes,
     * transformer names, boolean values, character encodings, date/time formats, and XML features.
     * It is designed to avoid the instantiation.
     */
    public final class Constants {
        /**
         * The GET method.
         */
        public static final String GET_METHOD = "GET";
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

     * the tests create a mock {@link Configuration} and instantiate SmbComQueryInformation
     * directly.  Since the byte‑encoding logic is located in the superclass, the
     * tests verify that the byte buffer created by {@link
     * SmbComQueryInformation#writeBytesWireFormat(byte[], int)} is correctly built
     * for both Unicode and OEM encodings.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                // Verify reserved section is zero
                assertEquals(0, SMBUtil.readInt4(buffer, 20));
            }
    
            @Test
            @DisplayName("Should handle multiple sequential encodings")
            void testMultipleSequentialEncodings() {
                // Given
                SrvCopychunk chunk1 = new SrvCopychunk(100, 200, 300);
                SrvCopychunk chunk2 = new SrvCopychunk(400, 500, 600);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/curl/CurlRequestTest.java

        public void testEncodingMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
            String encoding = "ISO-8859-1";
    
            CurlRequest result = request.encoding(encoding);
    
            assertSame(request, result); // Fluent API
            assertEquals(encoding, request.encoding());
        }
    
        @Test
        public void testEncodingAfterParamThrowsException() {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/StringsTest.java

                assertArrayEquals(ASCII_STRING.getBytes(StandardCharsets.US_ASCII), result, "Should produce same bytes as ASCII encoding");
            }
        }
    
        @Nested
        @DisplayName("OEM Encoding Tests")
        class OEMEncodingTests {
    
            @Test
            @DisplayName("getOEMBytes should use configuration encoding")
            void testGetOEMBytes() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/crypto/CachedCipher.java

     * and {@link Key} objects, with configurable algorithms and character encodings.
     * </p>
     * <p>
     * <strong>Key Features:</strong>
     * </p>
     * <ul>
     * <li>Thread-safe cipher pooling using {@link ConcurrentLinkedQueue}</li>
     * <li>Configurable encryption algorithms (default: Blowfish)</li>
     * <li>Proper charset handling for key generation (UTF-8 by default)</li>
     * <li>Base64 encoding for text operations</li>
     * </ul>
     * <p>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top