Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 306 for If (1.78 sec)

  1. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

        }
    
        /**
         * Validates if the given URL string is a valid URL.
         *
         * @param urlStr the URL string to validate
         * @return true if the URL is valid, false otherwise
         */
        protected boolean isValidUrl(final String urlStr) {
            if (StringUtil.isBlank(urlStr)) {
                return false;
            }
            final String value;
            if (urlStr.startsWith("://")) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

             * Commits the changes to the dictionary file.
             * If there is a pending new item, it is written to the file.
             *
             * @return The committed item, or null if no item was committed.
             * @throws DictionaryException if an I/O error occurs.
             */
            public StopwordsItem commit() {
                isCommit = true;
                if (item != null && item.isUpdated()) {
                    try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

             * Commits the changes to the dictionary file.
             * If there is a pending new item, it is written to the file.
             *
             * @return The committed item, or null if no item was committed.
             * @throws DictionaryException if an I/O error occurs.
             */
            public StemmerOverrideItem commit() {
                isCommit = true;
                if (item != null && item.isUpdated()) {
                    try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

         * @param url the URL to be checked for crawlability
         * @return {@code true} if the URL is crawlable; {@code false} if it matches the exclusion pattern
         */
        protected boolean isUrlCrawlable(final DataStoreParams paramMap, final String url) {
            if (paramMap.containsKey(URL_EXCLUDE_PATTERN)) {
                if (paramMap.get(URL_EXCLUDE_PATTERN) instanceof final String value) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 29.7K bytes
    - Viewed (3)
  5. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                    final RequestParameter[] parameters = StreamUtil.split(keysStr, ",").get(stream -> stream.map(String::trim).map(s -> {
                        if (StringUtil.isEmpty(s)) {
                            return null;
                        }
                        final String[] values = req.getParameterValues(s);
                        if (values == null || values.length == 0) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

         * @return a set of RequestData objects for the anchor URLs, or null if no valid URLs found
         */
        protected Set<RequestData> getAnchorSet(final Object obj) {
            if (obj == null) {
                return null;
            }
    
            List<String> anchorList;
            if (obj instanceof final String s) {
                anchorList = List.of(s);
            } else if (obj instanceof final List<?> l) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

         * @throws CrawlingAccessException If the FTP request fails
         */
        protected ResponseData processRequest(final String uri, final boolean includeContent) {
            if (ftpAuthenticationHolder == null) {
                init();
            }
    
            // start
            AccessTimeoutTarget accessTimeoutTarget = null;
            TimeoutTask accessTimeoutTask = null;
            if (accessTimeout != null) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 40K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

            if (protwordsItemList == null) {
                reload(null);
            }
    
            if (offset >= protwordsItemList.size() || offset < 0) {
                return new PagingList<>(Collections.<ProtwordsItem> emptyList(), offset, size, protwordsItemList.size());
            }
    
            int toIndex = offset + size;
            if (toIndex > protwordsItemList.size()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/s3/S3Client.java

         * @throws CrawlingAccessException if the path format is invalid
         */
        protected String[] parsePath(final String path) {
            if (StringUtil.isNotEmpty(path)) {
                final String[] values = path.split("/", 2);
                if (values.length == 2) {
                    return values;
                }
                if (values.length == 1 && StringUtil.isNotEmpty(values[0])) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/CurlResponse.java

         *
         * @return the content as an InputStream.
         * @throws IOException if an I/O error occurs.
         * @throws CurlException if the content does not exist.
         */
        public InputStream getContentAsStream() throws IOException {
            if (contentCache == null) {
                if (contentException != null) {
                    throw new CurlException("The content does not exist.", contentException);
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top