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 Details

    • FileSuffixFilter

      public FileSuffixFilter(String suffix)
      A filter that accepts regular files that end with suffix, case-insensitive.
    • FileSuffixFilter

      public FileSuffixFilter(String prefix, String suffix)
      A filter that accepts regular files that start with prefix and end with suffix, case-insensitive.
  • Method Details