Package net.i2p.util
Class FileSuffixFilter
java.lang.Object
net.i2p.util.FileSuffixFilter
- All Implemented Interfaces:
FileFilter
public class FileSuffixFilter extends Object implements FileFilter
A FileFilter that accepts regular files
with a suffix and optionally a prefix, case-insensitive.
- Since:
- 0.9.34
-
Constructor Summary
Constructors Constructor Description FileSuffixFilter(String suffix)
A filter that accepts regular files that end with suffix, case-insensitive.FileSuffixFilter(String prefix, String suffix)
A filter that accepts regular files that start with prefix and end with suffix, case-insensitive. -
Method Summary
-
Constructor Details
-
FileSuffixFilter
A filter that accepts regular files that end with suffix, case-insensitive. -
FileSuffixFilter
A filter that accepts regular files that start with prefix and end with suffix, case-insensitive.
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceFileFilter
-