Home | History | Annotate | Download | only in filefilter

Lines Matching refs:suffix

26  * Filters files based on the suffix (what the filename ends with).

57 * Constructs a new Suffix file filter for a single extension.
59 * @param suffix the suffix to allow, must not be null
60 * @throws IllegalArgumentException if the suffix is null
62 public SuffixFileFilter(String suffix) {
63 this(suffix, IOCase.SENSITIVE);
67 * Constructs a new Suffix file filter for a single extension
70 * @param suffix the suffix to allow, must not be null
72 * @throws IllegalArgumentException if the suffix is null
75 public SuffixFileFilter(String suffix, IOCase caseSensitivity) {
76 if (suffix == null) {
77 throw new IllegalArgumentException("The suffix must not be null");
79 this.suffixes = new String[] {suffix};
84 * Constructs a new Suffix file filter for an array of suffixs.
90 * @throws IllegalArgumentException if the suffix array is null
97 * Constructs a new Suffix file filter for an array of suffixs
105 * @throws IllegalArgumentException if the suffix array is null
117 * Constructs a new Suffix file filter for a list of suffixes.
120 * @throws IllegalArgumentException if the suffix list is null
128 * Constructs a new Suffix file filter for a list of suffixes
133 * @throws IllegalArgumentException if the suffix list is null
146 * Checks to see if the filename ends with the suffix.
162 * Checks to see if the filename ends with the suffix.