Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for Constants (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/Constants.java

        /**
         * A constant for no transformer.
         */
        public static final String NO_TRANSFORMER = "NONE";
    
        /**
         * A constant for "false".
         */
        public static final String FALSE = "false";
    
        /**
         * A constant for "UTF-8".
         */
        public static final String UTF_8 = "UTF-8";
    
        /**
         * A constant for UTF-8 charset.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

            try {
                final SAXParserFactory spfactory = SAXParserFactory.newInstance();
                spfactory.setFeature(Constants.FEATURE_SECURE_PROCESSING, true);
                spfactory.setFeature(Constants.FEATURE_EXTERNAL_GENERAL_ENTITIES, false);
                spfactory.setFeature(Constants.FEATURE_EXTERNAL_PARAMETER_ENTITIES, false);
                final SAXParser parser = spfactory.newSAXParser();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            String value;
            FtpInfo ftpInfo;
    
            try {
                ftpInfo = new FtpClient.FtpInfo(null, Constants.UTF_8);
                fail();
            } catch (CrawlingAccessException e) {
                // ignore
            }
    
            try {
                ftpInfo = new FtpClient.FtpInfo("", Constants.UTF_8);
                fail();
            } catch (CrawlingAccessException e) {
                // ignore
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

    import org.codelibs.core.io.InputStreamUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.timer.TimeoutManager;
    import org.codelibs.core.timer.TimeoutTask;
    import org.codelibs.fess.crawler.Constants;
    import org.codelibs.fess.crawler.builder.RequestDataBuilder;
    import org.codelibs.fess.crawler.client.AbstractCrawlerClient;
    import org.codelibs.fess.crawler.client.AccessTimeoutTarget;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/IntervalController.java

     * </ul>
     */
    public interface IntervalController {
        /** Constant representing the pre-processing state. */
        int PRE_PROCESSING = 1;
    
        /** Constant representing the post-processing state. */
        int POST_PROCESSING = 2;
    
        /** Constant indicating that there are no URLs in the queue. */
        int NO_URL_IN_QUEUE = 4;
    
        /** Constant indicating that the crawler is waiting for new URLs. */
        int WAIT_NEW_URL = 8;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

            final SAXParserFactory spfactory = SAXParserFactory.newInstance();
            try {
                spfactory.setFeature(Constants.FEATURE_SECURE_PROCESSING, true);
                spfactory.setFeature(Constants.FEATURE_EXTERNAL_GENERAL_ENTITIES, false);
                spfactory.setFeature(Constants.FEATURE_EXTERNAL_PARAMETER_ENTITIES, false);
                // create a sax parser
                final SAXParser parser = spfactory.newSAXParser();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultDataImpl.java

            if (data == null) {
                return null;
            }
            try {
                return new String(data, StringUtil.isNotBlank(encoding) ? encoding : Constants.UTF_8);
            } catch (final UnsupportedEncodingException e) {
                return new String(data, Constants.UTF_8_CHARSET);
            }
        }
    
        /**
         * Returns a string representation of this object.
         * @return A string representation.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/constants/SuggestConstants.java

     */
    package org.codelibs.fess.suggest.constants;
    
    /**
     * This class contains constants used in the Fess Suggest module.
     * It is a utility class and should not be instantiated.
     */
    public final class SuggestConstants {
        // Private constructor to prevent instantiation
        private SuggestConstants() {
        }
    
        /** An empty string constant. */
        public static final String EMPTY_STRING = "";
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RequestData.java

         * @param method the HTTP method as a string
         */
        public void setMethod(final String method) {
            if (Constants.GET_METHOD.equals(method)) {
                this.method = Method.GET;
            } else if (Constants.POST_METHOD.equals(method)) {
                this.method = Method.POST;
            } else if (Constants.HEAD_METHOD.equals(method)) {
                this.method = Method.HEAD;
            } else {
                this.method = Method.GET;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                try {
                    return new String(data, encoding == null ? Constants.UTF_8 : encoding);
                } catch (final UnsupportedEncodingException e) {
                    if (logger.isInfoEnabled()) {
                        logger.info("Invalid charsetName: " + encoding + ". Changed to " + Constants.UTF_8, e);
                    }
                    return new String(data, Constants.UTF_8_CHARSET);
                }
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
Back to top