Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getShare (0.04 sec)

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

                if (t != null) {
                    if (log.isDebugEnabled()) {
                        log.debug("Tree is " + t);
                    }
    
                    if (Objects.equals(loc.getShare(), t.getShare())) {
                        try (SmbSessionImpl session = t.getSession()) {
                            targetDomain = session.getTargetDomain();
                            if (!session.isFailed()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  2. src/main/java/jcifs/smb/SmbTreeImpl.java

        }
    
        /**
         * @return the service
         */
        public String getService() {
            return this.service;
        }
    
        /**
         * @return the share
         */
        public String getShare() {
            return this.share;
        }
    
        /**
         * @return whether this is a DFS share
         */
        public boolean isDfs() {
            return this.inDfs;
        }
    
        /**
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

         * <code>null</code> will be returned.
         *
         * @return The share component or <code>null</code> if there is no share
         */
        public String getShare() {
            return this.fileLocator.getShare();
        }
    
        /**
         * Retrieve the hostname of the server for this SMB resource. If the resources has been resolved by DFS this will
         * return the target name.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertEquals("file.txt", file.getName(), "Name should be extracted correctly");
            assertTrue(file.getPath().endsWith("/shared/path/file.txt"), "Path should end correctly");
            assertEquals("shared", file.getShare(), "Share should be extracted correctly");
            assertNotNull(file.getParent(), "Parent should not be null");
            assertTrue(file.getParent().endsWith("/shared/path/"), "Parent path should be correct");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * <code>null</code> will be returned.
         *
         * @return  The share component or <code>null</code> if there is no share
         */
    
        public String getShare() {
            return share;
        }
    
        String getServerWithDfs() {
            if (dfsReferral != null) {
                return dfsReferral.server;
            }
            return getServer();
        }
    
    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