Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 125 for method (0.02 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            }
        }
    
        /**
         * Test exception in method that declares throws
         */
        public void test_exceptionInMethod() {
            try {
                methodThatThrowsException();
                fail("Should have thrown CrawlerSystemException");
            } catch (CrawlerSystemException e) {
                assertEquals("Method exception", e.getMessage());
            }
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/LogHelper.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.helper;
    
    import org.codelibs.fess.crawler.log.LogType;
    
    /**
     * Interface for logging helper.
     * Provides a method to log messages with a specified log type and additional objects.
     */
    public interface LogHelper {
    
        /**
         * Logs a message with the specified log type and additional objects.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java

    /**
     * Represents an HTTP request header with a name and value.
     * This class is used to encapsulate the header information for HTTP requests.
     * It provides methods to get and set the name and value of the header,
     * as well as a method to validate the header.
     *
     * <p>Example usage:</p>
     * <pre>
     *     RequestHeader header = new RequestHeader("Content-Type", "application/json");
     *     String name = header.getName();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

     * credentials, and domain. This class is used to encapsulate the necessary
     * information for authenticating with an SMB1 server.
     *
     * <p>
     * It provides methods to set and retrieve the server address, port, username,
     * password, and domain. Additionally, it offers a method to construct a path
     * prefix for SMB1 URLs based on the configured server and port.
     * </p>
     *
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

    import org.codelibs.core.lang.StringUtil;
    
    /**
     * FtpAuthentication class holds the authentication information for FTP connections.
     * It includes server address, port number, username, and password.
     * It also provides a method to check if the authentication matches a given FTP path.
     *
     * @author shinsuke
     */
    public class FtpAuthentication {
        private static final Logger logger = LogManager.getLogger(FtpAuthentication.class);
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

            urlQueueService.delete(sessionId);
            dataService.delete(sessionId);
            urlFilter.clear();
        }
    
        /**
         * Closes the crawler, releasing resources.
         * This method is called automatically when the crawler is used in a try-with-resources statement.
         */
        @Override
        public void close() {
            clientFactory.close();
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

    import org.codelibs.fess.crawler.log.LogType;
    
    /**
     * Implementation of the {@link LogHelper} interface.
     * This class provides methods for logging various events during the crawling process.
     * It uses Log4j2 for logging.
     *
     * <p>
     * The class contains methods for logging different types of events, such as:
     * </p>
     * <ul>
     *   <li>Starting and finishing threads</li>
     *   <li>Starting and cleaning up crawling</li>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                    logger.debug("Failed to validate a file.", e);
                }
            }
            return false;
        }
    
        /**
         * Generates SitemapSet instance.
         *
         * This method does not close the input stream.
         *
         * @param in Input stream for a sitemap
         * @return a sitemap set
         */
        public SitemapSet parse(final InputStream in) {
            return parse(in, true);
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

     * <p>
     * The thread also manages the active thread count using {@code crawlerContext.activeThreadCountLock}
     * and provides methods for logging messages using {@link LogHelper}.
     * </p>
     *
     * <p>
     * The crawling process continues until the crawler status is {@link CrawlerStatus#DONE} or the
     * {@link #isContinue(int)} method returns {@code false}.
     * </p>
     *
     */
    public class CrawlerThread implements Runnable {
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

     * {@link org.codelibs.fess.crawler.exception.CrawlerSystemException} in case of errors.
     * </p>
     *
     * <p>
     * The {@link #storeData(ResponseData, ResultData)} method is the main entry point for storing
     * the content of a crawled resource. The {@link #getData(AccessResultData)} method retrieves
     * the stored file path as a File object.
     * </p>
     */
    public class FileTransformer extends HtmlTransformer {
        /** Logger instance for this class */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top