public final class Utils extends Object
Modifier and Type | Method and Description |
---|---|
static Iterator<FileObject> |
getFileObjectsIterator(SearchInfo si)
Returns
Iterator of FileObject 's for the provided SearchInfo . |
public static Iterator<FileObject> getFileObjectsIterator(SearchInfo si)
Iterator
of FileObject
's for the provided SearchInfo
.
If provided SearchInfo
object is implementation of SearchInfo.Files
interface
then the result of method SearchInfo.Files.filesToSearch
is returned. Otherwise the objects
are getting from the SearchInfo.objectsToSearch
method.si
- SearchInfo
object to return the iterator forFileObject
s