Home
last modified time | relevance | path

Searched refs:IOCase (Results 1 – 10 of 10) sorted by relevance

/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DIOCase.java38 public final class IOCase implements Serializable { class
43 public static final IOCase SENSITIVE = new IOCase("Sensitive", true);
48 public static final IOCase INSENSITIVE = new IOCase("Insensitive", false);
57 public static final IOCase SYSTEM = new IOCase("System", !FilenameUtils.isSystemWindows());
76 public static IOCase forName(String name) { in forName()
77 if (IOCase.SENSITIVE.name.equals(name)){ in forName()
78 return IOCase.SENSITIVE; in forName()
80 if (IOCase.INSENSITIVE.name.equals(name)){ in forName()
81 return IOCase.INSENSITIVE; in forName()
83 if (IOCase.SYSTEM.name.equals(name)){ in forName()
[all …]
DFilenameUtils.java915 return equals(filename1, filename2, false, IOCase.SENSITIVE); in equals()
930 return equals(filename1, filename2, false, IOCase.SYSTEM); in equalsOnSystem()
946 return equals(filename1, filename2, true, IOCase.SENSITIVE); in equalsNormalized()
963 return equals(filename1, filename2, true, IOCase.SYSTEM); in equalsNormalizedOnSystem()
979 boolean normalized, IOCase caseSensitivity) { in equals()
993 caseSensitivity = IOCase.SENSITIVE; in equals()
1098 return wildcardMatch(filename, wildcardMatcher, IOCase.SENSITIVE); in wildcardMatch()
1123 return wildcardMatch(filename, wildcardMatcher, IOCase.SYSTEM); in wildcardMatchOnSystem()
1139 …public static boolean wildcardMatch(String filename, String wildcardMatcher, IOCase caseSensitivit… in wildcardMatch()
1147 caseSensitivity = IOCase.SENSITIVE; in wildcardMatch()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
DSuffixFileFilter.java23 import org.apache.commons.io.IOCase;
54 private final IOCase caseSensitivity;
63 this(suffix, IOCase.SENSITIVE); in SuffixFileFilter()
75 public SuffixFileFilter(String suffix, IOCase caseSensitivity) { in SuffixFileFilter()
80 this.caseSensitivity = (caseSensitivity == null ? IOCase.SENSITIVE : caseSensitivity); in SuffixFileFilter()
93 this(suffixes, IOCase.SENSITIVE); in SuffixFileFilter()
108 public SuffixFileFilter(String[] suffixes, IOCase caseSensitivity) { in SuffixFileFilter()
113 this.caseSensitivity = (caseSensitivity == null ? IOCase.SENSITIVE : caseSensitivity); in SuffixFileFilter()
124 this(suffixes, IOCase.SENSITIVE); in SuffixFileFilter()
137 public SuffixFileFilter(List<String> suffixes, IOCase caseSensitivity) { in SuffixFileFilter()
[all …]
DPrefixFileFilter.java23 import org.apache.commons.io.IOCase;
53 private final IOCase caseSensitivity;
62 this(prefix, IOCase.SENSITIVE); in PrefixFileFilter()
74 public PrefixFileFilter(String prefix, IOCase caseSensitivity) { in PrefixFileFilter()
79 this.caseSensitivity = (caseSensitivity == null ? IOCase.SENSITIVE : caseSensitivity); in PrefixFileFilter()
92 this(prefixes, IOCase.SENSITIVE); in PrefixFileFilter()
107 public PrefixFileFilter(String[] prefixes, IOCase caseSensitivity) { in PrefixFileFilter()
112 this.caseSensitivity = (caseSensitivity == null ? IOCase.SENSITIVE : caseSensitivity); in PrefixFileFilter()
123 this(prefixes, IOCase.SENSITIVE); in PrefixFileFilter()
136 public PrefixFileFilter(List<String> prefixes, IOCase caseSensitivity) { in PrefixFileFilter()
[all …]
DNameFileFilter.java23 import org.apache.commons.io.IOCase;
52 private final IOCase caseSensitivity;
71 public NameFileFilter(String name, IOCase caseSensitivity) { in NameFileFilter()
76 this.caseSensitivity = (caseSensitivity == null ? IOCase.SENSITIVE : caseSensitivity); in NameFileFilter()
102 public NameFileFilter(String[] names, IOCase caseSensitivity) { in NameFileFilter()
107 this.caseSensitivity = (caseSensitivity == null ? IOCase.SENSITIVE : caseSensitivity); in NameFileFilter()
129 public NameFileFilter(List<String> names, IOCase caseSensitivity) { in NameFileFilter()
134 this.caseSensitivity = (caseSensitivity == null ? IOCase.SENSITIVE : caseSensitivity); in NameFileFilter()
DWildcardFileFilter.java24 import org.apache.commons.io.IOCase;
57 private final IOCase caseSensitivity;
76 public WildcardFileFilter(String wildcard, IOCase caseSensitivity) { in WildcardFileFilter()
81 this.caseSensitivity = (caseSensitivity == null ? IOCase.SENSITIVE : caseSensitivity); in WildcardFileFilter()
107 public WildcardFileFilter(String[] wildcards, IOCase caseSensitivity) { in WildcardFileFilter()
112 this.caseSensitivity = (caseSensitivity == null ? IOCase.SENSITIVE : caseSensitivity); in WildcardFileFilter()
134 public WildcardFileFilter(List<String> wildcards, IOCase caseSensitivity) { in WildcardFileFilter()
139 this.caseSensitivity = (caseSensitivity == null ? IOCase.SENSITIVE : caseSensitivity); in WildcardFileFilter()
DRegexFileFilter.java23 import org.apache.commons.io.IOCase;
72 public RegexFileFilter(String pattern, IOCase caseSensitivity) { in RegexFileFilter()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/
DNameFileComparator.java23 import org.apache.commons.io.IOCase;
61 …ic final Comparator<File> NAME_INSENSITIVE_COMPARATOR = new NameFileComparator(IOCase.INSENSITIVE);
67 …public static final Comparator<File> NAME_SYSTEM_COMPARATOR = new NameFileComparator(IOCase.SYSTEM…
73 private final IOCase caseSensitivity;
79 this.caseSensitivity = IOCase.SENSITIVE; in NameFileComparator()
87 public NameFileComparator(IOCase caseSensitivity) { in NameFileComparator()
88 this.caseSensitivity = caseSensitivity == null ? IOCase.SENSITIVE : caseSensitivity; in NameFileComparator()
DPathFileComparator.java23 import org.apache.commons.io.IOCase;
61 …ic final Comparator<File> PATH_INSENSITIVE_COMPARATOR = new PathFileComparator(IOCase.INSENSITIVE);
67 …public static final Comparator<File> PATH_SYSTEM_COMPARATOR = new PathFileComparator(IOCase.SYSTEM…
73 private final IOCase caseSensitivity;
79 this.caseSensitivity = IOCase.SENSITIVE; in PathFileComparator()
87 public PathFileComparator(IOCase caseSensitivity) { in PathFileComparator()
88 this.caseSensitivity = caseSensitivity == null ? IOCase.SENSITIVE : caseSensitivity; in PathFileComparator()
DExtensionFileComparator.java24 import org.apache.commons.io.IOCase;
63 …omparator<File> EXTENSION_INSENSITIVE_COMPARATOR = new ExtensionFileComparator(IOCase.INSENSITIVE);
70 …ic final Comparator<File> EXTENSION_SYSTEM_COMPARATOR = new ExtensionFileComparator(IOCase.SYSTEM);
76 private final IOCase caseSensitivity;
82 this.caseSensitivity = IOCase.SENSITIVE; in ExtensionFileComparator()
90 public ExtensionFileComparator(IOCase caseSensitivity) { in ExtensionFileComparator()
91 this.caseSensitivity = caseSensitivity == null ? IOCase.SENSITIVE : caseSensitivity; in ExtensionFileComparator()