Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Consumed (1.47 sec)

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

            final int availableBefore = in.available();
    
            extractor.testValidateInputStream(in);
    
            final int availableAfter = in.available();
            assertEquals("Stream should not be consumed by validation", availableBefore, availableAfter);
        }
    
        /**
         * Test that validateInputStream is called exactly once per getText call.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractorEnhancedTest.java

            final ExtractData result = filenameExtractor.getText(in, params);
    
            assertNotNull(result);
            assertEquals("filename.txt", result.getContent());
            // Verify stream was not consumed
            assertEquals(testData.length, in.available());
        }
    
        /**
         * Test extraction with empty string filename.
         */
        public void test_getText_withEmptyFilename() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

        }
    
        /**
         * Processes thumbnail generation with a consumer function.
         * @param id The document ID.
         * @param consumer The consumer function to process thumbnail and config ID.
         * @return True if processing was successful, false otherwise.
         */
        protected boolean process(final String id, final BiPredicate<String, String> consumer) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ldap/LdapManager.java

        /**
         * Sets an attribute value from search results using a Consumer.
         *
         * @param result the list of search results
         * @param name the attribute name
         * @param consumer the Consumer to process the attribute value
         */
        protected void setAttributeValue(final List<SearchResult> result, final String name, final Consumer<Object> consumer) {
            final List<Object> attrList = getAttributeValueList(result, name);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 86.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java

            }
        }
    
        /**
         * Processes all thread information and sends it to the provided consumer.
         *
         * @param writer the consumer that will handle each line of thread dump output
         */
        public static void processThreadDump(final Consumer<String> writer) {
            for (final Map.Entry<Thread, StackTraceElement[]> entry : Thread.getAllStackTraces().entrySet()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/curl/CurlRequest.java

         *
         * @param actionListener the action listener for handling the response
         * @param exceptionListener the exception listener for handling exceptions
         */
        public void connect(final Consumer<HttpURLConnection> actionListener, final Consumer<Exception> exceptionListener) {
            final Runnable task = () -> {
                final String finalUrl;
                if (paramList != null) {
                    char sp;
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

    import java.time.format.DateTimeFormatter;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.function.Consumer;
    import java.util.stream.Collectors;
    
    import org.apache.commons.text.StringEscapeUtils;
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 32.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

            this.highlightedFields = highlightedFields;
        }
    
        /**
         * Processes the highlighted fields using the provided stream consumer.
         *
         * @param stream consumer that processes the stream of highlighted field names
         */
        public void highlightedFields(final Consumer<Stream<String>> stream) {
            stream(highlightedFields).of(stream);
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

         *
         * @param src the source bean object
         * @param dest the destination bean object
         * @param option a consumer function to configure copy options
         */
        protected static void copyBeanToBean(final Object src, final Object dest, final Consumer<CopyOptions> option) {
            BeanUtil.copyBeanToBean(src, dest, option);
        }
    
        /**
         * Copies properties from a map to a bean object.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 15K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SearchHelper.java

         *
         * @param consumer Consumer function to configure the bulk request builder
         * @return true if all bulk operations were successful, false otherwise
         * @throws InterruptedRuntimeException if the operation is interrupted
         * @throws SearchEngineClientException if the bulk update fails
         */
        public boolean bulkUpdate(final Consumer<BulkRequestBuilder> consumer) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 36.3K bytes
    - Viewed (0)
Back to top