Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for endsWith (0.3 sec)

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

                return;
            }
    
            if (request instanceof SmbComTreeConnectAndX) {
                SmbComTreeConnectAndX tcax = (SmbComTreeConnectAndX)request;
                if (netbiosName != null && tcax.path.endsWith("\\IPC$")) {
                    /* Some pipes may require that the hostname in the tree connect
                     * be the netbios name. So if we have the netbios server name
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/EnumTest.java

                    String[] names = f.list(new SmbFilenameFilter() {
    
                        @Override
                        public boolean accept ( SmbFile dir, String name ) throws SmbException {
                            return name.endsWith(".txt");
                        }
                    });
                    assertNotNull(names);
                    assertEquals(2, names.length);
                    Arrays.sort(names);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                }
                if ( b > 0xFF ) {
                    return doNameQuery(name, svr);
                }
                IP = ( IP << 8 ) + b;
                hitDots++;
            }
            if ( hitDots != 4 || host.endsWith(".") ) {
                return doNameQuery(name, svr);
            }
            return new NbtAddress(getUnknownName(), IP, false, NbtAddress.B_NODE);
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    dunc = "\\" + dr.path + dunc;
    
                unc = dunc;
                if (request != null &&
                            request.path != null &&
                            request.path.endsWith("\\") &&
                            dunc.endsWith("\\") == false) {
                    dunc += "\\";
                }
                if (request != null) {
                    request.path = dunc;
    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)
  5. src/test/java/jcifs/tests/AllTests.java

         */
        protected static void loadConfigFile ( Path config, String[] applyMutations, Map<String, Map<String, String>> configs ) throws IOException {
            String fname = config.getFileName().toString();
            if ( !fname.endsWith(".conf") ) {
                return;
            }
            Properties props = new Properties();
            try ( FileChannel ch = FileChannel.open(config, StandardOpenOption.READ);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 14.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                    }
                    IP = ( IP << 8 ) + b;
                    hitDots++;
                }
                if( hitDots != 4 || host.endsWith( "." )) {
                    return (NbtAddress)doNameQuery( new Name( host, type, scope ), svr );
                }
                return new NbtAddress( UNKNOWN_NAME, IP, false, B_NODE );
            }
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            }
    
            this.unc = dunc;
            if ( dr.getShare() != null && !dr.getShare().isEmpty() ) {
                this.share = dr.getShare();
            }
            if ( reqPath != null && reqPath.endsWith("\\") && !dunc.endsWith("\\") ) {
                dunc += "\\";
            }
            return dunc;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#toString()
         */
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:24:53 GMT 2019
    - 23.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

            }
        }
    
    
        private static String encodeRelativePath ( String name ) {
            // workaround fix
            if (name == null) {
                return null;
            }
            if (name.endsWith(" ")) {
                final StringBuilder suffix = new StringBuilder();
                for (int i = name.length() - 1; i >= 0; i--) {
                    if (name.charAt(i) != ' ') {
                        break;
                    }
    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)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

                    if ( request instanceof SmbComTreeConnectAndX ) {
                        SmbComTreeConnectAndX tcax = (SmbComTreeConnectAndX) request;
                        if ( this.netbiosName != null && tcax.getPath().endsWith("\\IPC$") ) {
                            /*
                             * Some pipes may require that the hostname in the tree connect
                             * be the netbios name. So if we have the netbios server name
    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