public static class FileLabelAwareIterator.Builder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.io.File> |
foldersToScan |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FileLabelAwareIterator.Builder |
addSourceFolder(java.io.File folder)
Root folder for labels -> documents.
|
FileLabelAwareIterator |
build() |
public FileLabelAwareIterator.Builder addSourceFolder(@NonNull java.io.File folder)
folder
- folder to be scanned for labels and filespublic FileLabelAwareIterator build()