Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getLong (0.16 sec)

  1. src/main/java/jcifs/Config.java

        /**
         * Retrieve a <code>long</code>. If the key does not exist or
         * cannot be converted to a <code>long</code>, the provided default
         * argument will be returned.
         */
        public static long getLong ( Properties props, String key, long def ) {
            String s = props.getProperty(key);
            if ( s != null ) {
                try {
                    def = Long.parseLong(s);
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/config/PropertyConfiguration.java

            this.vcNumber = 1;
    
            this.dfsDisabled = Config.getBoolean(p, "jcifs.smb.client.dfs.disabled", false);
            this.dfsTTL = Config.getLong(p, "jcifs.smb.client.dfs.ttl", 300);
            this.dfsStrictView = Config.getBoolean(p, "jcifs.smb.client.dfs.strictView", false);
            this.dfsConvertToFqdn = Config.getBoolean(p, "jcifs.smb.client.dfs.convertToFQDN", false);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DfsImpl.java

                        return this._domains.map;
                    }
                }
            }
            catch ( IOException ioe ) {
                if ( log.isDebugEnabled() ) {
                    log.debug("getting trusted domains failed: " + tf.getCredentials().getUserDomain(), ioe);
                }
                CacheEntry<Map<String, CacheEntry<DfsReferralDataInternal>>> entry = new CacheEntry<>(tf.getConfig().getDfsTtl() * 10L);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Dfs.java

            }
        }
    
        static LogStream log = LogStream.getInstance();
        static final boolean strictView = Config.getBoolean("jcifs.smb1.smb.client.dfs.strictView", false);
        static final long TTL = Config.getLong("jcifs.smb1.smb.client.dfs.ttl", 300);
        static final boolean DISABLED = Config.getBoolean("jcifs.smb1.smb.client.dfs.disabled", false);
    
        protected static CacheEntry FALSE_ENTRY = new Dfs.CacheEntry(0L);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/Config.java

        /**
         * Retrieve a <code>long</code>. If the key does not exist or
         * cannot be converted to a <code>long</code>, the provided default
         * argument will be returned.
         */
    
        public static long getLong( String key, long def ) {
            String s = prp.getProperty( key );
            if( s != null ) {
                try {
                    def = Long.parseLong( s );
                } catch( NumberFormatException nfe ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

        static {
    
            try {
                Class.forName( "jcifs.smb1.Config" );
            } catch( ClassNotFoundException cnfe ) {
                cnfe.printStackTrace();
            }
            attrExpirationPeriod = Config.getLong( "jcifs.smb1.smb.client.attrExpirationPeriod", DEFAULT_ATTR_EXPIRATION_PERIOD );
            ignoreCopyToException = Config.getBoolean( "jcifs.smb1.smb.client.ignoreCopyToException", true );
            dfs = new Dfs();
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top