Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for slash (0.18 sec)

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

     * the root URL <code>smb1://</code> is also <code>smb1://</code>. If this
     * <tt>SmbFile</tt> refers to a workgroup, server, share, or directory,
     * the name will include a trailing slash '/' so that composing new
     * <tt>SmbFile</tt>s will maintain the trailing slash requirement.
     *
     * @return  The last component of the URL associated with this SMB
     *          resource or <code>smb1://</code> if the resource is <code>smb1://</code>
    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)
  2. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                 * Samba has a tendency to return pathConsumed values so that they consume a trailing slash of the
                 * requested path. Normalize this here.
                 */
                if ( reqPath.charAt(consumed - 1) == '\\' ) {
                    if ( log.isDebugEnabled() ) {
                        log.debug("Server consumed trailing slash of request path, adjusting");
                    }
                    dr.pathConsumed--;
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                throw new IllegalArgumentException(msg);
            }
            if (!input.startsWith("/")) {
                final String msg = "The argument 'input' should start with slash '/': " + input;
                throw new IllegalArgumentException(msg);
            }
            final StringBuilder sb = new StringBuilder();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DfsImpl.java

                 * path is just "\" and not "\example.com\root".
                 */
                link = "\\";
            }
            else if ( path.charAt(path.length() - 1) == '\\' ) {
                // strip trailing slash
                link = path.substring(0, path.length() - 1);
            }
            else {
                link = path;
            }
    
            if ( log.isTraceEnabled() ) {
                log.trace("Initial link is " + link);
    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)
  5. src/main/java/jcifs/smb/SmbFile.java

     * and workgroups.
     * <p>
     * <font color="#800000"><i>Important: all SMB URLs that represent
     * workgroups, servers, shares, or directories require a trailing slash '/'.
     * </i></font>
     * <p>
     * When using the <tt>java.net.URL</tt> class with
     * 'smb://' URLs it is necessary to first call the static
     * <tt>jcifs.Config.registerSmbURLHandler();</tt> method. This is required
    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)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

                log.debug("Resolving DFS path " + path);
            }
    
            if ( path.length() >= 2 && path.charAt(0) == '\\' && path.charAt(1) == '\\' ) {
                throw new SmbException("Path must not start with double slash: " + path);
            }
    
            try ( SmbSessionImpl sess = getSmbSession(ctx, targetHost, targetDomain);
                  SmbTransportImpl transport = sess.getTransport();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
Back to top