Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Farmer (0.09 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

            }
        }
    
        /**
         * Creates and configures a DOM parser with the specified features and properties.
         *
         * @return a configured DOM parser instance
         * @throws CrawlerSystemException if the parser configuration is invalid
         */
        protected DOMParser getDomParser() {
            try {
                final DOMParser parser = new DOMParser();
                // feature
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Oct 04 08:47:19 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

            final DOMParser parser = getDomParser();
            try (final Reader reader = new StringReader(content)) {
                parser.parse(new InputSource(reader));
            } catch (final Exception e) {
                logger.warn("Failed to parse the content.", e);
                return new ExtractData(extractString(content));
            }
    
            final Document document = parser.getDocument();
            try {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Oct 04 08:47:19 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

    import org.apache.tika.metadata.Metadata;
    import org.apache.tika.mime.MediaType;
    import org.apache.tika.parser.CompositeParser;
    import org.apache.tika.parser.ParseContext;
    import org.apache.tika.parser.Parser;
    import org.apache.tika.parser.PasswordProvider;
    import org.apache.tika.parser.ocr.TesseractOCRConfig;
    import org.apache.tika.parser.pdf.PDFParserConfig;
    import org.apache.tika.sax.BodyContentHandler;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 30.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

        }
    
        /**
         * Disables external resources for the SAX parser to prevent XXE attacks.
         * @param parser the SAX parser to configure
         * @throws SAXNotRecognizedException if the parser doesn't recognize the feature
         * @throws SAXNotSupportedException if the parser doesn't support the feature
         */
        protected void disableExternalResources(final SAXParser parser) throws SAXNotRecognizedException, SAXNotSupportedException {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 13:19:40 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

                spfactory.setFeature(Constants.FEATURE_EXTERNAL_PARAMETER_ENTITIES, false);
                // create a sax parser
                final SAXParser parser = spfactory.newSAXParser();
                try {
                    parser.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, StringUtil.EMPTY);
                    parser.setProperty(XMLConstants.ACCESS_EXTERNAL_SCHEMA, StringUtil.EMPTY);
                } catch (final Exception e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. LICENSES/vendor/cyphar.com/go-pathrs/LICENSE

        the recipients' rights in the Source Code Form under this License.
    
    3.3. Distribution of a Larger Work
    
    You may create and distribute a Larger Work under terms of Your choice,
    provided that You also comply with the requirements of this License for
    the Covered Software. If the Larger Work is a combination of Covered
    Software with a work governed by one or more Secondary Licenses, and the
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Nov 12 14:46:31 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/FileUtil.java

            }
        }
    
        /**
         * Reads the contents of a file into a byte array and returns it.
         * <p>
         * <strong>Note:</strong> This method loads the entire file into memory.
         * For files larger than {@value #MAX_BUF_SIZE} bytes (10MB), an
         * {@link IORuntimeException} will be thrown to prevent OutOfMemoryError.
         * For large files, use streaming APIs instead.
         * </p>
         *
         * @param file
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/FileUtilTest.java

         *
         * @throws Exception
         */
        @Test
        public void testReadBytes_LargeFile() throws Exception {
            final File largeFile = tempFolder.newFile("large.dat");
    
            // Create a file larger than MAX_BUF_SIZE (10MB)
            // Write 11MB of data
            try (FileOutputStream fos = new FileOutputStream(largeFile)) {
                final byte[] chunk = new byte[1024 * 1024]; // 1MB
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

            SuggestItem firstItem = items.get(0);
            assertTrue(firstItem.getTags().length >= 2);
        }
    
        @Test
        public void test_parseDocumentWithLargeText() throws Exception {
            // Test with text larger than maxAnalyzedContentLength
            StringBuilder largeText = new StringBuilder();
            for (int i = 0; i < 2000; i++) {
                largeText.append("ใƒ†ใ‚นใƒˆ ");
            }
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ObjectArrays.java

       *
       * @param element the element to prepend to the front of {@code array}
       * @param array the array of elements to append
       * @return an array whose size is one larger than {@code array}, with {@code element} occupying
       *     the first position, and the elements of {@code array} occupying the remaining elements.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:48:28 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top