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 void
doCloseInternal()
protected boolean
fetchMore()
protected FileEntry[]
getResults()
protected boolean
isDone()
protected FileEntry
open()
-
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:
getResults
in classDirFileEntryEnumIteratorBase
- See Also:
DirFileEntryEnumIteratorBase.getResults()
-
open
protected FileEntry open() throws CIFSException
- Specified by:
open
in classDirFileEntryEnumIteratorBase
- Parameters:
th
-parent
-wildcard
-- Returns:
- Throws:
CIFSException
-
fetchMore
protected boolean fetchMore() throws CIFSException
- Specified by:
fetchMore
in classDirFileEntryEnumIteratorBase
- Throws:
CIFSException
- See Also:
DirFileEntryEnumIteratorBase.fetchMore()
-
isDone
protected boolean isDone()
- Specified by:
isDone
in classDirFileEntryEnumIteratorBase
- See Also:
DirFileEntryEnumIteratorBase.isDone()
-
doCloseInternal
protected void doCloseInternal() throws CIFSException
- Specified by:
doCloseInternal
in classDirFileEntryEnumIteratorBase
- Throws:
CIFSException
-
-