Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getFileProtocols (0.05 sec)

  1. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

            protocols = switch (uriType.protocolType()) {
            case WEB -> ComponentUtil.getProtocolHelper().getWebProtocols();
            case FILE -> ComponentUtil.getProtocolHelper().getFileProtocols();
            default -> throw new ConstraintDefinitionException("protocolType is emtpy.");
            };
        }
    
        @Override
        public boolean isValid(final String value, final ConstraintValidatorContext context) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

        }
    
        /**
         * Returns the array of supported file protocols.
         *
         * @return array of file protocol strings with colon suffix (e.g., "file:", "ftp:")
         */
        public String[] getFileProtocols() {
            return fileProtocols;
        }
    
        /**
         * Checks if the given URL uses a valid web protocol.
         *
         * @param url the URL to validate
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top