Package jcifs.smb
Class NetServerEnumIterator
- java.lang.Object
-
- jcifs.smb.NetServerEnumIterator
-
- All Implemented Interfaces:
AutoCloseable,Iterator<FileEntry>,CloseableIterator<FileEntry>
public class NetServerEnumIterator extends Object implements CloseableIterator<FileEntry>
-
-
Constructor Summary
Constructors Constructor Description NetServerEnumIterator(SmbFile parent, jcifs.smb.SmbTreeHandleImpl th, String wildcard, int searchAttributes, ResourceNameFilter filter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()FileEntrynext()voidremove()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
NetServerEnumIterator
public NetServerEnumIterator(SmbFile parent, jcifs.smb.SmbTreeHandleImpl th, String wildcard, int searchAttributes, ResourceNameFilter filter) throws CIFSException
- Parameters:
parent-th-wildcard-searchAttributes-filter-- Throws:
CIFSException
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<FileEntry>- See Also:
Iterator.hasNext()
-
next
public FileEntry next()
- Specified by:
nextin interfaceIterator<FileEntry>- See Also:
Iterator.next()
-
close
public void close() throws CIFSException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseableIterator<FileEntry>- Throws:
CIFSException- See Also:
CloseableIterator.close()
-
-