Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getTreeHandle (0.09 sec)

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

            }
            if (unc.lastIndexOf('\\') != unc.length() - 1) {
                throw new SmbException(unc + " UNC must end with '\\'");
            }
    
            final SmbTreeHandleImpl th = getTreeHandle();
            this.response = new Trans2FindFirst2Response(th.getConfig());
    
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

         * @throws CIFSException if an error occurs opening the directory
         */
        @SuppressWarnings("resource")
        @Override
        protected FileEntry open() throws CIFSException {
            final SmbTreeHandleImpl th = getTreeHandle();
            final String uncPath = getParent().getLocator().getUNCPath();
            final Smb2CreateRequest create = new Smb2CreateRequest(th.getConfig(), uncPath);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

                throw e;
            }
    
        }
    
        /**
         * Gets the SMB tree handle for this iterator.
         *
         * @return the treeHandle
         */
        public final SmbTreeHandleImpl getTreeHandle() {
            return this.treeHandle;
        }
    
        /**
         * Gets the search attributes for this iterator.
         *
         * @return the search attributes used for filtering directory entries
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Act
            TestIterator it = TestIterator.create(tree, parent, wildcard, null, attrs, initial, pages);
    
            // Assert
            assertSame(tree, it.getTreeHandle(), "tree handle should be same instance returned by acquire");
            assertEquals(attrs, it.getSearchAttributes());
            assertEquals(wildcard, it.getWildcard());
            assertSame(parent, it.getParent());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

        /**
         * Retrieves the tree handle for this SMB resource
         *
         * @return a tree handle
         * @throws CIFSException if the tree connection cannot be established
         */
        public SmbTreeHandle getTreeHandle() throws CIFSException {
            return ensureTreeConnected();
        }
    
        /**
         * {@inheritDoc}
         * Optimized to provide better resource cleanup with caching benefits.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top