Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 144 for props (0.05 sec)

  1. src/test/java/jcifs/tests/BaseCIFSTest.java

            Properties props = new Properties();
            props.putAll(this.properties);
            return new BaseContext(new PropertyConfiguration(props));
        }
    
    
        protected Map<String, String> getProperties () {
            return this.properties;
        }
    
    
        protected String getRequiredProperty ( String prop ) {
            String val = this.properties.get(prop);
            Assume.assumeNotNull(val);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

            this(container, null);
        }
    
        /**
         * the properties passed to the profile manager are the props that
         * are passed to maven, possibly containing profile activator properties
         *
         */
        public DefaultProfileManager(PlexusContainer container, Properties props) {
            try {
                this.profileSelector = container.lookup(ProfileSelector.class);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

                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());
                        });
                return new NTLMScheme(new JcifsEngine(props));
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. 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: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/AllTests.java

                return;
            }
            Properties props = new Properties();
            try ( FileChannel ch = FileChannel.open(config, StandardOpenOption.READ);
                  InputStream is = Channels.newInputStream(ch) ) {
                props.load(is);
    
            }
            if ( !props.isEmpty() ) {
                Map<String, String> map = toMap(props);
                String cfgname = fname.substring(0, fname.length() - 5);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 14.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                    request.setRemoteRepositories(req.getRemoteRepositories());
                }
            } else {
                Properties props = new Properties();
                EnvironmentUtils.addEnvVars(props);
                props.putAll(System.getProperties());
                request.setSystemProperties(props);
            }
    
            return request;
        }
    
        @SuppressWarnings("unchecked")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/JcifsEngine.java

        protected BaseContext cifsContext;
    
        public JcifsEngine(final Properties props) {
            try {
                cifsContext = new BaseContext(new PropertyConfiguration(props));
            } catch (final CIFSException e) {
                throw new CrawlingAccessException(e);
            }
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/context/SingletonContext.java

    
        /**
         * Initialize singleton context using custom properties
         * 
         * This method can only be called once.
         * 
         * @param props
         * @throws CIFSException
         */
        public static synchronized final void init ( Properties props ) throws CIFSException {
            if ( INSTANCE != null ) {
                throw new CIFSException("Singleton context is already initialized");
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 08:53:08 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

        }
    
        private Properties getSystemProperties() {
            Properties props = new Properties();
    
            EnvironmentUtils.addEnvVars(props);
    
            SystemProperties.addSystemProperties(props);
    
            return props;
        }
    
        private static final class ProjectRelocation {
            private MavenProject project;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. 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: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top