Package jcifs.smb
Class DirFileEntryEnumIterator2
- java.lang.Object
-
- jcifs.smb.DirFileEntryEnumIteratorBase
-
- jcifs.smb.DirFileEntryEnumIterator2
-
- All Implemented Interfaces:
AutoCloseable,Iterator<FileEntry>,CloseableIterator<FileEntry>
public class DirFileEntryEnumIterator2 extends DirFileEntryEnumIteratorBase
- Author:
- mbechler
-
-
Constructor Summary
Constructors Constructor Description DirFileEntryEnumIterator2(jcifs.smb.SmbTreeHandleImpl th, SmbResource parent, String wildcard, ResourceNameFilter filter, int searchAttributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoCloseInternal()protected booleanfetchMore()protected FileEntry[]getResults()protected booleanisDone()protected FileEntryopen()-
Methods inherited from class jcifs.smb.DirFileEntryEnumIteratorBase
advance, close, doClose, getParent, getSearchAttributes, getTreeHandle, getWildcard, hasNext, next, remove
-
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
-
DirFileEntryEnumIterator2
public DirFileEntryEnumIterator2(jcifs.smb.SmbTreeHandleImpl th, SmbResource parent, String wildcard, ResourceNameFilter filter, int searchAttributes) throws CIFSException- Parameters:
th-parent-wildcard-filter-searchAttributes-- Throws:
CIFSException
-
-
Method Detail
-
getResults
protected FileEntry[] getResults()
- Specified by:
getResultsin classDirFileEntryEnumIteratorBase- See Also:
DirFileEntryEnumIteratorBase.getResults()
-
open
protected FileEntry open() throws CIFSException
- Specified by:
openin classDirFileEntryEnumIteratorBase- Parameters:
th-parent-wildcard-- Returns:
- Throws:
CIFSException
-
fetchMore
protected boolean fetchMore() throws CIFSException- Specified by:
fetchMorein classDirFileEntryEnumIteratorBase- Throws:
CIFSException- See Also:
DirFileEntryEnumIteratorBase.fetchMore()
-
isDone
protected boolean isDone()
- Specified by:
isDonein classDirFileEntryEnumIteratorBase- See Also:
DirFileEntryEnumIteratorBase.isDone()
-
doCloseInternal
protected void doCloseInternal() throws CIFSException- Specified by:
doCloseInternalin classDirFileEntryEnumIteratorBase- Throws:
CIFSException
-
-