Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getProperty (0.29 sec)

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

         */
    
        public static String getProperty( String key, String def ) {
            return prp.getProperty( key, def );
        }
    
        /**
         * Retrieve a <code>String</code>. If the property is not found, <code>null</code> is returned.
         */
    
        public static String getProperty( String key ) {
            return prp.getProperty( key );
        }
    
        /**
    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)
  2. src/main/java/jcifs/Config.java

         * cannot be converted to an <code>int</code>, the provided default
         * argument will be returned.
         */
        public static int getInt ( Properties props, String key, int def ) {
            String s = props.getProperty(key);
            if ( s != null ) {
                try {
                    def = Integer.parseInt(s);
                }
                catch ( NumberFormatException nfe ) {
                    log.error("Not a number", nfe);
    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)
Back to top