Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getDfsPath (0.25 sec)

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

                return null;
            }
            return str;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getDfsPath()
         */
        @Override
        public String getDfsPath() {
            if (this.dfsReferral == null) {
                return null;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbResourceLocatorTest.java

                return null;
            }
    
            @Override
            public String getServer() {
                return null;
            }
    
            @Override
            public String getDfsPath() {
                return null;
            }
    
            @Override
            public int getPort() {
                return 0;
            }
    
            @Override
            public URL getURL() {
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbResourceLocator.java

         * this method will return the referral path to which it maps. Otherwise
         * <code>null</code> is returned.
         *
         * @return URL to the DFS volume
         */
        String getDfsPath();
    
        /**
         * Returns the transport port number for this SMB resource connection.
         *
         * @return the transport port, if specified
         */
        int getPort();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertEquals(dr, l.getDfsReferral());
            assertEquals("dfs-server", l.getServerWithDfs());
            assertEquals("smb://dfs-server/dfs-share" + l.getUNCPath().replace('\\', '/'), l.getDfsPath());
            assertEquals("dfs-share", l.getShare());
    
            // Path consumed negative -> coerced to 0
            when(dr.getPathConsumed()).thenReturn(-1);
            String unc2 = l.handleDFSReferral(dr, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

         *
         * @return URL to the DFS volume
         * @throws SmbException if an error occurs while resolving the DFS path
         */
        public String getDfsPath() throws SmbException {
            try {
                String path = this.treeConnection.ensureDFSResolved(this.fileLocator).getDfsPath();
                if (path != null && isDirectory()) {
                    path += '/';
                }
                return path;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

        private boolean isExists;
        private int shareAccess = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE;
        private SmbComBlankResponse blank_resp = null;
        private DfsReferral dfsReferral = null; // For getDfsPath() and getServerWithDfs()
    
        /**
         * DFS resolver instance
         */
        protected static Dfs dfs;
    
        NtlmPasswordAuthentication auth; // Cannot be null
        SmbTree tree = null; // Initially null
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top