- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for props (0.01 sec)
-
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) -
src/test/java/org/codelibs/fess/unit/TestSystemProperties.java
try (InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream("system.properties")) { if (is != null) { Properties props = new Properties(); props.load(is); props.forEach((key, value) -> setProperty(String.valueOf(key), String.valueOf(value))); logger.debug("Loaded test system properties"); } else {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java
if (Constants.NTLM.equals(scheme)) { final Properties props = new Properties(); getWebConfig().getConfigParameterMap(ConfigName.CONFIG) .entrySet() .stream() .filter(e -> e.getKey().startsWith(Config.JCIFS_PREFIX)) .forEach(e -> { props.setProperty(e.getKey(), e.getValue()); });
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 5.9K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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)