Package com.google.common.io
Class PatternFilenameFilter
java.lang.Object
com.google.common.io.PatternFilenameFilter
- All Implemented Interfaces:
FilenameFilter
@Beta
@Deprecated(since="2022-12-01")
public final class PatternFilenameFilter
extends Object
implements FilenameFilter
Deprecated.
The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023
File name filter that only accepts files matching a regular expression. This
class is thread-safe and immutable.
- Since:
- 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionPatternFilenameFilter(String patternStr) Deprecated.Constructs a pattern file name filter object.PatternFilenameFilter(Pattern pattern) Deprecated.Constructs a pattern file name filter object. -
Method Summary
-
Constructor Details
-
PatternFilenameFilter
Deprecated.Constructs a pattern file name filter object.- Parameters:
patternStr- the pattern string on which to filter file names- Throws:
PatternSyntaxException- if pattern compilation fails (runtime)
-
PatternFilenameFilter
Deprecated.Constructs a pattern file name filter object.- Parameters:
pattern- the pattern on which to filter file names
-
-
Method Details
-
accept
Deprecated.- Specified by:
acceptin interfaceFilenameFilter
-