Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 84 for props (1.06 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

            final Properties props = new Properties(mailProperties);
            if (params != null) {
                for (final Map.Entry<String, String> entry : params.entrySet()) {
                    props.put(entry.getKey(), entry.getValue());
                }
            }
            try {
                final Session mailSession = Session.getDefaultInstance(props, null);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                if (tesseractOCRConfig == null) {
                    final Properties props = new Properties();
                    PropertiesUtil.load(props, tesseractConfigPath);
                    final Map<String, String> propMap =
                            props.entrySet().stream().collect(Collectors.toMap(e -> (String) e.getKey(), e -> (String) e.getValue()));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 30.8K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

         * .
         */
        @Test
        public void testLoadPropertiesInputStreamPropsNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[props] is null."));
            final InputStream inputStream = ResourceUtil.getResourceAsStream("org/codelibs/core/io/test.properties");
            PropertiesUtil.load(null, inputStream);
        }
    
        /**
         * Test method for
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            testPort = Integer.parseInt(portStr);
    
            // Create RDMA-enabled context
            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.useRDMA", "true");
            props.setProperty("jcifs.smb.client.rdmaProvider", "auto");
    
            PropertyConfiguration config = new PropertyConfiguration(props);
            testContext = new BaseContext(config);
        }
    
        // ============================================
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
        }
    
        @Test
        void testConstructor() {
            // Test constructor initializes all fields correctly
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

            super.init();
    
            final Properties props = new Properties();
            System.getProperties().entrySet().stream().filter(e -> e.getKey().toString().startsWith("jcifs.")).forEach(e -> {
                props.setProperty((String) e.getKey(), (String) e.getValue());
            });
            try {
                cifsContext = new BaseContext(new PropertyConfiguration(props));
            } catch (final CIFSException e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.4K bytes
    - Viewed (3)
  8. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            initializeFilter();
    
            // Test request with existing authentication should proceed
            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.domain", "TEST_DOMAIN");
            CIFSContext context = new BaseContext(new PropertyConfiguration(props));
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(context, "TEST_DOMAIN", "user", "pass");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

        @Mock
        private Configuration mockConfig;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
        }
    
        @Test
        void testConstructor() {
            // Test constructor with SMB_INFO_ALLOCATION
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                // This ensures complete isolation between operations
                Properties props = new Properties();
                props.setProperty("jcifs.smb.client.minVersion", "SMB202");
                props.setProperty("jcifs.smb.client.maxVersion", "SMB311");
                props.setProperty("jcifs.smb.client.responseTimeout", "30000");
                props.setProperty("jcifs.smb.client.soTimeout", "35000");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
Back to top