Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Equals (0.13 sec)

  1. src/main/java/jcifs/smb/SmbFile.java

         * Tests to see if two <code>SmbFile</code> objects are equal. Two
         * SmbFile objects are equal when they reference the same SMB
         * resource. More specifically, two <code>SmbFile</code> objects are
         * equals if their server IP addresses are equal and the canonicalized
         * representation of their URLs, minus authentication parameters, are
         * case insensitively and lexographically equal.
         * <br>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

            return ( this.tconHostName == null || hostName.equalsIgnoreCase(this.tconHostName) ) && addr.equals(this.address)
                    && ( prt == 0 || prt == this.port ||
                    /* port 139 is ok if 445 was requested */
                            ( prt == 445 && this.port == 139 ) )
                    && ( laddr == this.localAddr || ( laddr != null && laddr.equals(this.localAddr) ) ) && lprt == this.localPort;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbSessionImpl.java

         * @param thost
         * @return
         */
        protected boolean matches ( CIFSContext tf, String thost, String tdom ) {
            return Objects.equals(this.getCredentials(), tf.getCredentials()) && Objects.equals(this.targetHost, thost)
                    && Objects.equals(this.targetDomain, tdom);
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
Back to top