Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addFileProtocol (0.18 sec)

  1. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

            assertEquals("smb:", protocolHelper.getFileProtocols()[1]);
    
            assertFalse(protocolHelper.isValidFileProtocol("smbx://test"));
    
            protocolHelper.addFileProtocol("smbx");
            assertEquals(2, protocolHelper.getWebProtocols().length);
            assertEquals("http:", protocolHelper.getWebProtocols()[0]);
            assertEquals("https:", protocolHelper.getWebProtocols()[1]);
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Tue Jun 18 00:44:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

                        if ("web".equalsIgnoreCase(protocolType)) {
                            addWebProtocol(protocol);
                        } else if ("file".equalsIgnoreCase(protocolType)) {
                            addFileProtocol(protocol);
                        } else {
                            logger.warn("Unknown protocol: {}", protocol);
                        }
                    }
                } catch (final ClassNotFoundRuntimeException e) {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Wed Jun 19 01:34:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top