Modifier and Type | Class and Description |
---|---|
class |
FileIterable.FileIterator
An iterator over
FileInfo objects. |
Constructor and Description |
---|
FileIterable(FileSystemMaster fileSystemMaster,
String path,
Optional<String> user,
boolean usePartialListing,
java.util.function.Predicate<FileInfo> filter)
Creates a new instance of
FileIterable . |
Modifier and Type | Method and Description |
---|---|
FileIterable.FileIterator |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public FileIterable(FileSystemMaster fileSystemMaster, String path, Optional<String> user, boolean usePartialListing, java.util.function.Predicate<FileInfo> filter)
FileIterable
.fileSystemMaster
- file system masterpath
- path to listuser
- user to list asusePartialListing
- whether to use partial listingfilter
- filter to apply to the file infospublic FileIterable.FileIterator iterator()
Copyright © 2023. All Rights Reserved.