Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for def (0.11 sec)

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

        /**
         * Retrieve a boolean value. If the property is not found, the value of <code>def</code> is returned.
         */
        public static boolean getBoolean ( Properties props, String key, boolean def ) {
            String b = props.getProperty(key);
            if ( b != null ) {
                def = b.toLowerCase().equals("true");
            }
            return def;
        }
    
    
        /**
    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/smb1/util/MimeMap.java

        }
    
        public String getMimeType( String extension ) throws IOException {
            return getMimeType( extension, "application/octet-stream" );
        }
        public String getMimeType( String extension, String def ) throws IOException {
            int state, t, x, i, off;
            byte ch;
            byte[] type = new byte[128];
            byte[] buf = new byte[16];
            byte[] ext = extension.toLowerCase().getBytes( "ASCII" );
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.2K bytes
    - Viewed (0)
Back to top