public static class WildcardFileFilter.Builder extends AbstractSupplier<WildcardFileFilter,WildcardFileFilter.Builder>
WildcardFileFilter
instance.Modifier and Type | Field and Description |
---|---|
private IOCase |
ioCase
Whether the comparison is case-sensitive.
|
private java.lang.String[] |
wildcards
The wildcards that will be used to match file names.
|
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WildcardFileFilter |
get()
Gets a result.
|
WildcardFileFilter.Builder |
setIoCase(IOCase ioCase)
Sets how to handle case sensitivity, null means case-sensitive.
|
WildcardFileFilter.Builder |
setWildcards(java.util.List<java.lang.String> wildcards)
Sets the list of wildcards to match, not null.
|
WildcardFileFilter.Builder |
setWildcards(java.lang.String... wildcards)
Sets the wildcards to match, not null.
|
asThis
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asSupplier
private java.lang.String[] wildcards
private IOCase ioCase
public WildcardFileFilter get()
IOSupplier
public WildcardFileFilter.Builder setIoCase(IOCase ioCase)
ioCase
- how to handle case sensitivity, null means case-sensitive.public WildcardFileFilter.Builder setWildcards(java.util.List<java.lang.String> wildcards)
wildcards
- the list of wildcards to match, not null.public WildcardFileFilter.Builder setWildcards(java.lang.String... wildcards)
wildcards
- the wildcards to match, not null.