Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 232 for processor (0.11 sec)

  1. src/main/java/org/codelibs/fess/crawler/processor/FessResponseProcessor.java

     */
    package org.codelibs.fess.crawler.processor;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.crawler.entity.AccessResult;
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.entity.ResultData;
    import org.codelibs.fess.crawler.processor.impl.DefaultResponseProcessor;
    import org.codelibs.fess.ingest.IngestFactory;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

          assertTrue("I received an event when I wasn't ready!", ready);
          eventsReceived.add(event);
        }
      }
    
      public void testEventOrderingIsPredictable() {
        EventProcessor processor = new EventProcessor();
        bus.register(processor);
    
        EventRecorder recorder = new EventRecorder();
        bus.register(recorder);
    
        bus.post(FIRST);
    
        assertEquals(
            "EventRecorder expected events in order",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessor.java

    import org.codelibs.fess.crawler.helper.SitemapsHelper;
    import org.codelibs.fess.crawler.processor.ResponseProcessor;
    
    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     *
     */
    public class SitemapsResponseProcessor implements ResponseProcessor {
        @Resource
        protected CrawlerContainer crawlerContainer;
    
        @Override
        public void process(final ResponseData responseData) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                    .<DefaultResponseProcessor> singleton("defaultResponseProcessor", DefaultResponseProcessor.class, processor -> {
                        processor.setTransformer(container.getComponent("fileTransformer"));
                        processor.setSuccessfulHttpCodes(new int[] { 200 });
                        processor.setNotModifiedHttpCodes(new int[] { 304 });
                    })//
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/ByteSource.java

      @ParametricNullness
      public <T extends @Nullable Object> T read(ByteProcessor<T> processor) throws IOException {
        checkNotNull(processor);
    
        Closer closer = Closer.create();
        try {
          InputStream in = closer.register(openStream());
          return ByteStreams.readBytes(in, processor);
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/ByteSourceTest.java

                return processedBytes;
              }
            };
    
        source.read(processor);
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
        assertArrayEquals(bytes, processedBytes);
      }
    
      public void testRead_withProcessor_stopsOnFalse() throws IOException {
        ByteProcessor<@Nullable Void> processor =
            new ByteProcessor<@Nullable Void>() {
              boolean firstCall = true;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/ResponseProcessor.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.processor;
    
    import org.codelibs.fess.crawler.entity.ResponseData;
    
    /**
     * @author shinsuke
     *
     */
    public interface ResponseProcessor {
    
        void process(ResponseData responseData);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 839 bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/AbstractRule.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.rule.impl;
    
    import org.codelibs.fess.crawler.container.CrawlerContainer;
    import org.codelibs.fess.crawler.processor.ResponseProcessor;
    import org.codelibs.fess.crawler.rule.Rule;
    import org.codelibs.fess.crawler.rule.RuleManager;
    
    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     *
     */
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/FilesTest.java

              }
            };
    
        File asciiFile = getTestFile("ascii.txt");
        byte[] result = Files.readBytes(asciiFile, processor);
        assertEquals(Bytes.asList(Files.toByteArray(asciiFile)), Bytes.asList(result));
      }
    
      public void testReadBytes_returnFalse() throws IOException {
        ByteProcessor<byte[]> processor =
            new ByteProcessor<byte[]>() {
              private final ByteArrayOutputStream out = new ByteArrayOutputStream();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.processor.impl;
    
    import java.util.ArrayList;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    import java.util.stream.Collectors;
    
    import org.codelibs.core.lang.StringUtil;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top