Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getFileProtocols (0.14 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 empty or invalid: " + uriType.protocolType());
            };
        }
    
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 3.1K 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 12.4K bytes
    - Viewed (1)
Back to top