public class NetServerEnumIterator extends Object implements CloseableIterator<FileEntry>
Constructor and Description |
---|
NetServerEnumIterator(SmbFile parent,
jcifs.smb.SmbTreeHandleImpl th,
String wildcard,
int searchAttributes,
ResourceNameFilter filter) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
hasNext() |
FileEntry |
next() |
void |
remove() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public NetServerEnumIterator(SmbFile parent, jcifs.smb.SmbTreeHandleImpl th, String wildcard, int searchAttributes, ResourceNameFilter filter) throws CIFSException
parent
- th
- wildcard
- searchAttributes
- filter
- CIFSException
public boolean hasNext()
hasNext
in interface Iterator<FileEntry>
Iterator.hasNext()
public FileEntry next()
next
in interface Iterator<FileEntry>
Iterator.next()
public void close() throws CIFSException
close
in interface AutoCloseable
close
in interface CloseableIterator<FileEntry>
CIFSException
CloseableIterator.close()
Copyright © 2017. All rights reserved.