Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for props (0.03 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

                    Properties props = new Properties();
                    props.setProperty("bool.true", "true");
                    props.setProperty("bool.false", "false");
                    props.setProperty("bool.yes", "yes");
                    props.setProperty("bool.no", "no");
                    props.setProperty("bool.on", "on");
                    props.setProperty("bool.off", "off");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/FessBoot.java

             * @param props the configuration properties
             * @param readConfigList the list of read configuration items
             */
            @Override
            public void setupServerConfigIfNeeds(final BootLogger logger, final Tomcat server, final Connector connector,
                    final Properties props, final List<String> readConfigList) {
                if (props == null) {
                    return;
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

            } else if (Constants.NTLM.equals(scheme)) {
                final Properties props = new Properties();
                paramMap.entrySet().stream().filter(e -> e.getKey().startsWith("jcifs.")).forEach(e -> {
                    props.setProperty(e.getKey(), e.getValue());
                });
                authScheme = new NTLMScheme(new JcifsEngine(props));
            } else if (Constants.FORM.equals(scheme)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertTrue(cmdList.contains("-D" + Constants.SYSTEM_PROP_PREFIX + "prop1=value1"));
            assertTrue(cmdList.contains("-D" + Constants.SYSTEM_PROP_PREFIX + "prop2=value2"));
    
            // Clean up
            System.clearProperty(Constants.SYSTEM_PROP_PREFIX + "prop1");
            System.clearProperty(Constants.SYSTEM_PROP_PREFIX + "prop2");
            System.clearProperty("regular.property");
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

            options.sessionId = "test-session";
            options.name = "test-name";
            options.propertiesPath = "/path/to/props";
            options.numOfThreads = 5;
    
            String expected = "Options [sessionId=test-session, name=test-name, propertiesPath=/path/to/props, numOfThreads=5]";
            assertEquals(expected, options.toString());
        }
    
        public void test_initializeProbes() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

                    propField.setAccessible(true);
    
                    // Create a mock JavaPropertiesResult
                    java.util.Properties props = new java.util.Properties();
                    props.setProperty("job.max.crawler.processes", "5");
                    props.setProperty("java.command.path", "java");
    
                    org.dbflute.helper.jprop.JavaPropertiesReader reader =
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

            options.sessionId = "test-session";
            options.name = "test-name";
            options.propertiesPath = "/path/to/props";
    
            String expected = "Options [sessionId=test-session, name=test-name, propertiesPath=/path/to/props]";
            assertEquals(expected, options.toString());
        }
    
        // Test initializeProbes
        public void test_initializeProbes() {
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/ResourceUtil.java

         */
        public static Properties getProperties(final String path) {
            assertArgumentNotEmpty("path", path);
    
            final Properties props = new Properties();
            final InputStream is = getResourceAsStream(path);
            try {
                props.load(is);
                return props;
            } catch (final IOException ex) {
                throw new IORuntimeException(ex);
            } finally {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            options.name = "testCrawl";
            options.webConfigIds = "web1,web2";
            options.fileConfigIds = "file1";
            options.dataConfigIds = "data1";
            options.propertiesPath = "/path/to/props";
            options.expires = "7";
            options.hotThread = 5000;
    
            String result = options.toString();
            assertNotNull(result);
            assertTrue(result.contains("sessionId=session123"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  10. README.md

    ```
    
    ### Resource Management
    ```java
    import org.codelibs.core.io.*;
    
    // Resource loading and management
    URL resource = ResourceUtil.getResource("config.properties");
    Properties props = PropertiesUtil.load(resource);
    
    // File operations with proper resource handling
    try (InputStream input = ResourceUtil.getResourceAsStream("data.txt")) {
        String content = InputStreamUtil.getUTF8String(input);
    }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top