Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 443 for Encodings (0.05 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java

                assertTrue("Error message should contain encoding information", e.getMessage().contains("encoding"));
                assertTrue("Error message should contain the specific encoding", e.getMessage().contains(customEncoding));
                assertTrue("Error message should indicate extraction failure", e.getMessage().contains("Failed to extract"));
            } finally {
                // Reset to default encoding
                textExtractor.setEncoding("UTF-8");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

            }
        }
    
        @Nested
        @DisplayName("Encoding Tests")
        class EncodingTests {
    
            @Test
            @DisplayName("Should encode value correctly")
            void testEncode() throws NdrException {
                // Given: NdrShort with test value
                int testValue = 123;
                NdrShort ndrShort = new NdrShort(testValue);
    
                // When: Encoding the value
                ndrShort.encode(mockBuffer);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. pom.xml

    				<artifactId>maven-compiler-plugin</artifactId>
    				<version>3.14.0</version>
    				<configuration>
    					<encoding>UTF-8</encoding>
    					<release>21</release>
    				</configuration>
    			</plugin>
    			<plugin>
    				<artifactId>maven-javadoc-plugin</artifactId>
    				<version>3.11.2</version>
    				<configuration>
    					<encoding>UTF-8</encoding>
    					<docencoding>UTF-8</docencoding>
    					<charset>UTF-8</charset>
    				</configuration>
    			</plugin>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Dec 20 04:15:34 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/WriterUtil.java

        /**
         * Creates a {@link Writer} to output to a stream with the specified encoding.
         *
         * @param os the stream (must not be {@literal null})
         * @param encoding the encoding (must not be {@literal null} or empty)
         * @return a {@link Writer} to output to the stream
         */
        public static Writer create(final OutputStream os, final String encoding) {
            assertArgumentNotNull("os", os);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/BaseApiManager.java

        /**
         * Writes text content to the HTTP response with specified content type and encoding.
         * @param text The text content to write.
         * @param contentType The content type for the response.
         * @param encoding The character encoding for the response.
         */
        protected void write(final String text, final String contentType, final String encoding) {
            final StringBuilder buf = new StringBuilder(50);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/rpcTest.java

                // Mock the derive method to return a buffer for node encoding
                when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer);
    
                // When: Encoding the UUID
                uuid.encode(mockNdrBuffer);
    
                // Then: Verify the encoding sequence
                verify(mockNdrBuffer).align(4);
                verify(mockNdrBuffer).enc_ndr_long(0x12345678);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertThat(encoding.canDecode(encoded)).isTrue();
        assertThat(encoding.decode(encoded)).isEqualTo(decoded);
      }
    
      private static void assertFailsToDecode(BaseEncoding encoding, String cannotDecode) {
        assertFailsToDecode(encoding, cannotDecode, null);
      }
    
      private static void assertFailsToDecode(
          BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

        }
    
        /**
         * Returns the current encoding setting.
         * @return The current encoding.
         */
        public String getEncoding() {
            return encoding;
        }
    
        /**
         * Sets the encoding for content extraction.
         * @param encoding The encoding to set.
         */
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/ReaderUtil.java

         *
         * @param is
         *            the input stream (must not be {@literal null})
         * @param encoding
         *            the encoding of the input stream (must not be {@literal null} or empty)
         * @return a {@link Reader} to read from the file
         */
        public static InputStreamReader create(final InputStream is, final String encoding) {
            assertArgumentNotNull("is", is);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TextExtractor.java

                throw new ExtractException("Failed to extract text content using encoding: " + getEncoding(), e);
            }
        }
    
        /**
         * Returns the encoding used for text extraction.
         * @return the encoding
         */
        public String getEncoding() {
            return encoding;
        }
    
        /**
         * Sets the encoding.
         * @param encoding The encoding to set.
         */
        public void setEncoding(final String encoding) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top