- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 143 for detector (0.04 sec)
-
src/main/java/org/codelibs/fess/helper/LanguageHelper.java
return l; } } return null; } /** * Sets the language detector. * * @param detector The language detector. */ public void setDetector(final LanguageDetector detector) { this.detector = detector; } /** * Creates a script for updating a document with language information. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java
doc.put("content", "xyz"); // Without a real detector, this will throw NullPointerException try { languageHelper.updateDocument(doc); fail("Should throw NullPointerException without detector"); } catch (NullPointerException e) { // Expected since we don't have a detector } } public void test_updateDocument_emptyDoc() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 12.6K bytes - Viewed (0) -
.github/workflows/detect-conflicts.yml
name: "Conflict detector" on: push: pull_request_target: types: [synchronize] jobs: main: permissions: contents: read pull-requests: write runs-on: ubuntu-latest steps: - name: Check if PRs have merge conflicts uses: eps1lon/actions-label-merge-conflict@v3 with: dirtyLabel: "conflicts" repoToken: "${{ secrets.GITHUB_TOKEN }}"
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Sep 05 08:33:44 UTC 2025 - 499 bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
/** * This class is a parser that detects the document type. */ protected class TikaDetectParser extends CompositeParser { private static final long serialVersionUID = 1L; /** * The type detector used by this parser to auto-detect the type of a * document. */ private final Detector detector; // always set in the constructor /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 30.7K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
/** * Centralized resource management for preventing resource leaks. * Tracks all AutoCloseable resources and ensures proper cleanup. * * Features: * - Automatic resource cleanup with weak references * - Resource leak detection * - Resource usage monitoring * - Periodic cleanup of abandoned resources * - Detailed resource tracking and reporting */ public class ResourceManager {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java
} } } } /** * Detects the MIME type of the content. * * @param out the deferred file output stream * @return the detected MIME type * @throws IOException if an I/O error occurs */ protected String getMimeType(final DeferredFileOutputStream out) throws IOException {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/BaseApiManager.java
request.setAttribute(API_FORMAT_TYPE, formatType); return formatType; } /** * Detects the format type from the request parameters. * @param request The HTTP servlet request. * @return The detected format type. */ protected FormatType detectFormatType(final HttpServletRequest request) { String value = request.getParameter("type");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* to check for a cycle that reaches the lock to be acquired. If no cycle is detected, a new * "safe" edge is created. * <li>If a cycle is detected, an "unsafe" (cyclic) edge is created to represent a potential * deadlock situation, and the appropriate Policy is executed. * </ul> * * <p>Note that detection of potential deadlock does not necessarily indicate that deadlock will
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 35.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java
* <li>Configure whether to use the filename for MIME type detection when the stream is octet-stream.</li> * </ul> * * <p> * The MIME type detection is based on the {@code tika-mimetypes.xml} resource, which is loaded during initialization. * </p> * * <p> * Usage: * </p> * <pre> * MimeTypeHelperImpl mimeTypeHelper = new MimeTypeHelperImpl();
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MimeTypeHelper.java
* It allows content type detection based on the stream's content and/or filename. */ public interface MimeTypeHelper { /** * Determines the content type of the given input stream and filename. * @param is the input stream to analyze * @param filename the filename to help determine the content type * @return the detected content type */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 1.6K bytes - Viewed (0)