public static class FileLabelAwareIterator.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected List<File> |
foldersToScan |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FileLabelAwareIterator.Builder |
addSourceFolder(File folder)
Root folder for labels -> documents.
|
FileLabelAwareIterator |
build() |
public FileLabelAwareIterator.Builder addSourceFolder(@NonNull File folder)
folder
- folder to be scanned for labels and filespublic FileLabelAwareIterator build()
Copyright © 2017. All rights reserved.