Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 201 for validates (0.33 sec)

  1. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

         */
        protected boolean isFileSystemPath(final String url) {
            return ComponentUtil.getProtocolHelper().isFileSystemPath(url);
        }
    
        /**
         * Validates if the URL is safe for redirection.
         *
         * @param url the URL to validate
         * @return true if the URL is valid for redirection, false otherwise
         */
        protected boolean isValidRedirectUrl(final String url) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

     * referenced in HTML documents. This generator extracts images from HTML content
     * and processes them to create thumbnail images based on configured dimensions
     * and format settings.
     *
     * <p>The generator validates image MIME types, processes image data through
     * ImageIO operations, and applies scaling and cropping to generate thumbnails
     * that meet the specified size requirements.</p>
     *
     */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

         */
        public void setEnableValidation(final boolean enableValidation) {
            this.enableValidation = enableValidation;
        }
    
        /**
         * Validates a URL length according to sitemap specification.
         * @param url the URL to validate
         * @return true if valid, false otherwise
         */
        protected boolean isValidUrl(final String url) {
            if (url == null || url.isEmpty()) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 13:19:40 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java

            final String sessionId = "session5";
            final List<String> emptyList = Collections.emptyList();
    
            // Should not throw exception when adding empty list
            // This validates the early return optimization
            try {
                urlFilterService.addIncludeUrlFilter(sessionId, emptyList);
            } catch (final Exception e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

         *
         * @param repositories the list of repositories to validate, may be {@code null}
         * @return the same list if validation passes, or {@code null} if input was {@code null}
         * @throws IllegalArgumentException if the list contains duplicate repositories
         * @throws IllegalArgumentException if the list contains null repository entries
         */
        default List<RemoteRepository> validate(List<RemoteRepository> repositories) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractor.java

                throw new CrawlerSystemException("Could not create a temp file.", e);
            }
        }
    
        /**
         * Validates that the input stream is not null.
         * This is a common validation performed by most extractors.
         *
         * @param in The input stream to validate
         * @throws CrawlerSystemException if the input stream is null
         */
        protected void validateInputStream(final InputStream in) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

            form.password = null;
            form.confirmPassword = null;
        }
    
        /**
         * Validates LDAP user attribute types using the configured LDAP manager.
         *
         * @param attributes the map of attributes to validate
         * @param throwError callback to report any validation errors
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/FileUtil.java

            return normalizedPath.startsWith(normalizedBase);
        }
    
        /**
         * Validates that a given file is safe and does not attempt path traversal attacks.
         * <p>
         * This is a convenience method that converts File objects to Path and calls
         * {@link #isPathSafe(Path, Path)}.
         * </p>
         *
         * @param fileToCheck the file to validate (must not be {@literal null})
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    - `validateInputStream()` method behavior
    - Exception types and messages
    - Stream consumption (should not consume)
    - Consistency across multiple calls
    
    **Test Count**: 11 tests
    
    **Key Scenarios**:
    - ✅ Validates non-null streams
    - ✅ Throws CrawlerSystemException for null
    - ✅ Called during getText execution
    - ✅ Does not consume or modify stream
    - ✅ Consistent behavior across multiple calls
    - ✅ Works with various InputStream types
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     *   <li><strong>Duplicate Dependencies</strong>: Removes duplicate dependency declarations that Maven 4 strictly validates</li>
     *   <li><strong>Duplicate Plugins</strong>: Removes duplicate plugin declarations that Maven 4 strictly validates</li>
     *   <li><strong>Unsupported Repository Expressions</strong>: Comments out repositories with expressions not supported by Maven 4</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top