Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hasKnownProtocol (3.86 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

         * @return the converted path with appropriate protocol prefix
         */
        protected String convertCrawlingPath(final String path) {
            if (ComponentUtil.getProtocolHelper().hasKnownProtocol(path)) {
                return path;
            }
    
            if (path.startsWith("www.")) {
                return "http://" + path;
            }
    
            if (path.startsWith("//")) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

         * Used to determine if path conversion is needed in the wizard.
         *
         * @param path the path to check
         * @return true if the path has a known protocol prefix
         */
        public boolean hasKnownProtocol(final String path) {
            return path.startsWith("http:") || path.startsWith("https:") || path.startsWith("smb:") || path.startsWith("smb1:")
    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