- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for detect (0.35 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java
import org.codelibs.fess.crawler.helper.MimeTypeHelper; /** * MimeTypeHelperImpl is a helper class that detects the MIME type of a given input stream or filename. * It uses the Apache Tika library to detect the MIME type. * * <p> * This class provides methods to: * </p> * <ul> * <li>Detect the MIME type based on the input stream and filename.</li> * <li>Normalize the filename to handle special characters.</li>
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/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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
contentType = mimeTypeHelper.getContentType(is, url); } catch (final Exception e) { logger.debug("Failed to detect mime-type.", e); contentType = defaultMimeType; } } } else {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 52.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
* <li>activeMinPort: The minimum port number for active mode FTP.</li> * <li>activeMaxPort: The maximum port number for active mode FTP.</li> * <li>autodetectEncoding: Whether to automatically detect UTF-8 encoding.</li> * <li>connectTimeout: The timeout for establishing a connection to the FTP server.</li> * <li>dataTimeout: The timeout for data transfers.</li>
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 39.5K 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) -
fess-crawler/src/test/resources/ajax/js/jquery-2.1.1.min.js
d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="<select msallowclip=''><option selected=''></option></select>",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var...
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Oct 11 02:16:55 UTC 2015 - 82.3K bytes - Viewed (0) -
fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml
a low one * The priority for containers normally need to be higher than for the things they contain, so they don't accidently get detected as what's in them * For logic too complex to be expressed in a magic match, do the best you can here, then provide a Custom Detector for the rest --> <mime-info xmlns:tika="https://tika.apache.org/"> <mime-type type="application/activemessage"/>Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Mar 13 08:18:01 UTC 2025 - 320.1K bytes - Viewed (1) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java
*/ protected ExtractData createExtractData(final String content) { return new ExtractData(extractString(content)); } /** * Detects the encoding of the input stream. * @param bis The buffered input stream. * @return The detected encoding. */ protected String getEncoding(final BufferedInputStream bis) { final byte[] b = new byte[preloadSizeForCharset]; try {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java
import javax.xml.xpath.XPathNodes; import org.codelibs.fess.crawler.exception.CrawlerSystemException; import org.w3c.dom.Node; /** * The XPathAPI class provides methods to evaluate XPath expressions and select nodes or node lists from an XML document. * It uses the javax.xml.xpath.XPath and javax.xml.xpath.XPathFactory classes to create and evaluate XPath expressions. * * <p>Example usage:</p> * <pre> * {@code
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.6K bytes - Viewed (0)