@Beta @GwtIncompatible public final class PatternFilenameFilter extends Object implements FilenameFilter
Constructor and Description |
---|
PatternFilenameFilter(Pattern pattern)
Constructs a pattern file name filter object.
|
PatternFilenameFilter(String patternStr)
Constructs a pattern file name filter object.
|
public PatternFilenameFilter(String patternStr)
patternStr
- the pattern string on which to filter file namesPatternSyntaxException
- if pattern compilation fails (runtime)public PatternFilenameFilter(Pattern pattern)
pattern
- the pattern on which to filter file namesCopyright © 2010–2017. All rights reserved.