/** * Creates a new <code>ContainsFilenameFilter</code> operating in the specified mode. * * @param s the string to compare filenames against * @param caseSensitive if true, this FilenameFilter will be case-sensitive * @param inverted if true, this filter will operate in inverted mode. */ public ContainsFilenameFilter(String s, boolean caseSensitive, boolean inverted) { super(new FilenameGenerator(), s, caseSensitive, inverted); } }
/** * Creates a new <code>StartsFilenameFilter</code> matching filenames starting with the specified string and * operating in the specified modes. * * @param s the string to compare filenames against * @param caseSensitive if true, this FilenameFilter will be case-sensitive * @param inverted if true, this filter will operate in inverted mode. */ public StartsWithFilenameFilter(String s, boolean caseSensitive, boolean inverted) { super(new FilenameGenerator(), s, caseSensitive, inverted); } }
/** * Creates a new <code>RegexpFilenameFilter</code> matching the specified regexp and operating in non-inverted * mode. * * @param regexp regular expression that matches string values. * @param caseSensitive whether the regular expression is case sensitive or not. * @throws PatternSyntaxException if the syntax of the regular expression is not correct. */ public RegexpFilenameFilter(String regexp, boolean caseSensitive) throws PatternSyntaxException { super(new FilenameGenerator(), regexp, caseSensitive, false); }
/** * Creates a new <code>ExtensionFilenameFilter</code> matching filenames ending with one of the specified * extensions and operating in the specified modes. * * @param ext the extensions to match * @param caseSensitive if true, this FilenameFilter will be case-sensitive * @param inverted if true, this filter will operate in inverted mode. */ public ExtensionFilenameFilter(String[] ext, boolean caseSensitive, boolean inverted) { super(new FilenameGenerator(), ext, caseSensitive, inverted); } }
/** * Creates a new <code>AbstractFilenameFilter</code> operating in the specified mode. * * @param caseSensitive if true, this FilenameFilter will be case-sensitive * @param inverted if true, this filter will operate in inverted mode. */ public AbstractFilenameFilter(boolean caseSensitive, boolean inverted) { super(new FilenameGenerator(), caseSensitive, inverted); } }
/** * Creates a new <code>EqualsFilenameFilter</code> operating in the specified mode. * * @param s the string to compare filenames against * @param caseSensitive if true, this FilenameFilter will be case-sensitive * @param inverted if true, this filter will operate in inverted mode. */ public EqualsFilenameFilter(String s, boolean caseSensitive, boolean inverted) { super(new FilenameGenerator(), s, caseSensitive, inverted); } }
/** * Creates a new <code>EndsWithFilenameFilter</code> operating in the specified mode. * * @param s the string to compare filenames against * @param caseSensitive if true, this FilenameFilter will be case-sensitive * @param inverted if true, this filter will operate in inverted mode. */ public EndsWithFilenameFilter(String s, boolean caseSensitive, boolean inverted) { super(new FilenameGenerator(), s, caseSensitive, inverted); } }
/** * Creates a new <code>RegexpFilenameFilter</code> matching the specified regexp and operating in the specified * modes. * * @param regexp regular expression that matches string values. * @param caseSensitive whether the regular expression is case sensitive or not. * @param inverted if true, this filter will operate in inverted mode. * @throws PatternSyntaxException if the syntax of the regular expression is not correct. */ public RegexpFilenameFilter(String regexp, boolean caseSensitive, boolean inverted) throws PatternSyntaxException { super(new FilenameGenerator(), regexp, caseSensitive, inverted); } }