public final class TrainingFileFilter extends Object
Constructor and Description |
---|
TrainingFileFilter() |
Modifier and Type | Method and Description |
---|---|
String |
getPrefix()
Get the case-sensitive prefix string to filter
documents in the source path for training.
|
Boolean |
isSubfoldersIncluded()
Get the flag to indicate if sub folders within the set of prefix folders will also need to be included when
searching for content to be preprocessed.
|
TrainingFileFilter |
setPrefix(String prefix)
Set the case-sensitive prefix string to filter documents in the source path for training.
|
TrainingFileFilter |
setSubfoldersIncluded(boolean includeSubfolders)
Set the includeSubfolders flag to indicate if sub folders are also to be included when
searching for content to be preprocessed.
|
public String getPrefix()
public TrainingFileFilter setPrefix(String prefix)
prefix
- the prefix value to set.public Boolean isSubfoldersIncluded()
public TrainingFileFilter setSubfoldersIncluded(boolean includeSubfolders)
includeSubfolders
- the includeSubfolders value to set.Copyright © 2021. All rights reserved.