Package net.i2p.util

Class 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 Detail

      • 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.