Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CloseableIterator (0.06 sec)

  1. src/test/java/jcifs/tests/EnumTest.java

                    }
                }
    
                Set<String> names = new HashSet<>();
                try ( CloseableIterator<SmbResource> chld = f.children() ) {
                    while ( chld.hasNext() ) {
    
                        try ( SmbResource next = chld.next() ) {
                            try ( CloseableIterator<SmbResource> children = next.children() ) {}
                            names.add(next.getName());
                        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

        }
    
    
        @Override
        public CloseableIterator<SmbResource> children () throws CIFSException {
            return SmbEnumerationUtil.doEnum(this, "*", ATTR_DIRECTORY | ATTR_HIDDEN | ATTR_SYSTEM, null, null);
        }
    
    
        @Override
        public CloseableIterator<SmbResource> children ( String wildcard ) throws CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top