public static class FilenamesLabelAwareIterator.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 |
---|---|
FilenamesLabelAwareIterator.Builder |
addSourceFolder(java.io.File folder)
Root folder for labels -> documents.
|
FilenamesLabelAwareIterator |
build() |
FilenamesLabelAwareIterator.Builder |
useAbsolutePathAsLabel(boolean reallyUse) |
public FilenamesLabelAwareIterator.Builder addSourceFolder(@NonNull java.io.File folder)
folder
- folder to be scanned for labels and filespublic FilenamesLabelAwareIterator.Builder useAbsolutePathAsLabel(boolean reallyUse)
public FilenamesLabelAwareIterator build()