- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for wraps (0.01 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java
import java.io.IOException; import java.io.InputStream; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.io.FileUtil; /** * A custom InputStream that wraps a temporary file. This class ensures that the temporary file * is deleted when the stream is closed. */ public class TemporaryFileInputStream extends InputStream {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java
return (T) crawlerContainer.getComponent(componentName); } /** * Wraps an object instance into a pooled object. * @param obj The object to wrap * @return A PooledObject wrapping the given object */ @Override public PooledObject<T> wrap(final T obj) { return new DefaultPooledObject<>(obj); } /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java
/** The wrapped input stream. */ private transient InputStream inputStream; /** * Constructs a new IgnoreCloseInputStream that wraps the specified input stream. * * @param inputStream the input stream to wrap */ public IgnoreCloseInputStream(final InputStream inputStream) { this.inputStream = inputStream; } /**Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
} /** * Test wrap method */ public void test_wrap_basic() { TestComponent component = new TestComponent(); PooledObject<TestComponent> pooledObject = factory.wrap(component); assertNotNull(pooledObject); assertTrue(pooledObject instanceof DefaultPooledObject);Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
*/ public static void deleteScrollContext(final Client client, final String scrollId) { if (scrollId != null) { client.prepareClearScroll().addScrollId(scrollId).execute(ActionListener.wrap(res -> {}, e -> {})); } } /** * Escapes wildcard characters in the given query string. * * This method replaces all occurrences of '*' with '\*' andRegistered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 17.4K bytes - Viewed (1) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
*/ public void clearScroll(final String scrollId) { if (scrollId != null) { prepareClearScroll().addScrollId(scrollId) .execute(ActionListener.wrap(res -> {}, e -> logger.warn("Failed to clear " + scrollId, e))); } } /** * Listener for connection events. */ public interface OnConnectListener { /**Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Aug 31 05:32:52 UTC 2025 - 25.3K bytes - Viewed (0)