Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for unparse (0.18 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

         */
        public SitemapSet parse(final InputStream in) {
            return parse(in, true);
        }
    
        /**
         * Parses a sitemap from the given input stream.
         * @param in the input stream to parse
         * @param recursive whether to recursively parse compressed files
         * @return the parsed sitemap set
         */
        protected SitemapSet parse(final InputStream in, final boolean recursive) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

            } finally {
                FileUtil.deleteInBackground(tempFile);
            }
        }
    
        /**
         * Creates a parse context.
         *
         * @param parser A parser.
         * @param params A map of parameters.
         * @return a parse context.
         */
        protected ParseContext createParseContext(final Parser parser, final Map<String, String> params) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                File file = null;
                try {
                    file = new File(new URI(filePath));
                } catch (final URISyntaxException e) {
                    logger.warn("Could not parse url: " + filePath, e);
                }
    
                if (file == null) {
                    responseData.setHttpStatusCode(Constants.NOT_FOUND_STATUS_CODE);
                    responseData.setCharSet(charset);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

                if (responseData.getCharSet() != null) {
                    is.setEncoding(responseData.getCharSet());
                }
                parser.parse(is);
            } catch (final Exception e) {
                throw new CrawlingAccessException("Could not parse " + responseData.getUrl(), e);
            }
            final Document document = parser.getDocument();
    
            final StringBuilder buf = new StringBuilder(1000);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

                            }
                        }
                    }
                } catch (final IOException e) {
                    logger.warn("Failed to parse annotation.", e);
                }
            }
        }
    
        /**
         * Extracts text from an embedded file using the appropriate extractor.
         * @param filename the filename of the embedded file
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

     * The default value for {@code targetNodePath} is "//HTML/BODY | //@alt | //@title", which selects the body of the HTML document,
     * as well as the alt and title attributes.
     * </p>
     * <p>
     * The class uses {@link DOMParser} to parse HTML documents and {@link XPathAPI} to execute XPath queries.
     * It also provides methods to add custom features and properties to the {@link DOMParser}.
     * </p>
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

                parser.setDefaultOperator(StandardQueryConfigHandler.Operator.AND);
    
                // Parse with the first field if available, otherwise use "default"
                String defaultField = fields != null && fields.length > 0 ? fields[0] : "default";
                termQueryList = getTermQueryList(parser.parse(q, defaultField), fields);
            } catch (final Exception e) {
                return keywords;
            }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (1)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            try (final InputStream is = responseData.getResponseBody()) {
                final DOMParser parser = getDomParser();
                parser.parse(new InputSource(is));
                final Document document = parser.getDocument();
                // base href
                final String baseHref = getBaseHref(document);
                URI uri;
                try {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

    import org.opensearch.action.admin.indices.analyze.AnalyzeAction.AnalyzeToken;
    
    /**
     * DefaultContentsParser is an implementation of the ContentsParser interface.
     * It provides methods to parse search words, query logs, and documents into SuggestItem objects.
     *
     * <p>This class uses various utilities such as ReadingConverter, Normalizer, and SuggestAnalyzer
     * to process and analyze the input data.</p>
     *
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                } else {
                    file = new SmbFile(filePath, smbAuthentication.getAuthentication());
                }
            } catch (final MalformedURLException e) {
                logger.warn("Could not parse url: " + filePath, e);
            }
    
            if (logger.isDebugEnabled()) {
                logger.debug("Processing SmbFile: {}", filePath);
            }
    
            try {
                if (file == null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
Back to top