Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for ShareEnumIterator (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

                assertThrows(NullPointerException.class, () -> new ShareEnumIterator(null, entries.iterator(), null));
            }
    
            @Test
            @DisplayName("Empty iterator: hasNext() is false and next() returns null")
            void emptyIterator_behavesAsEmpty() throws Exception {
                SmbFile parent = newParent();
                ShareEnumIterator it = new ShareEnumIterator(parent, Collections.<FileEntry> emptyList().iterator(), null);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                throw e;
            } catch (final IOException ioe) {
                log.debug("doNetShareEnum failed", ioe);
                throw new SmbException(u.toString(), ioe);
            }
            return new ShareEnumIterator(parent, set.iterator(), ff);
        }
    
        @SuppressWarnings("resource")
        static CloseableIterator<SmbResource> doEnum(final SmbFile parent, String wildcard, int searchAttributes, final ResourceNameFilter fnf,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.3K bytes
    - Click Count (0)
Back to Top