public abstract static class DatePredicate.Factory extends Object implements FilePredicateFactory
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
FilePredicate |
create(Job.FileFilter filter)
Creates a predicate from a file filter.
|
FilePredicate |
createDatePredicate(String value)
Creates a
FilePredicate from the string value. |
abstract String |
getFilterName() |
abstract java.util.function.Function<FileInfo,Long> |
getTimestampGetter() |
public abstract String getFilterName()
public abstract java.util.function.Function<FileInfo,Long> getTimestampGetter()
public FilePredicate createDatePredicate(String value)
FilePredicate
from the string value.value
- the value from the filterpublic FilePredicate create(Job.FileFilter filter)
FilePredicateFactory
create
in interface FilePredicateFactory
filter
- the file filterCopyright © 2023. All Rights Reserved.