Uses of Class
org.apache.commons.io.IOCase
-
Packages that use IOCase Package Description org.apache.commons.io This package defines utility classes for working with streams, readers, writers and files.org.apache.commons.io.comparator This package provides variousComparator
implementations forFile
s.org.apache.commons.io.filefilter This package defines an interface (IOFileFilter) that combines bothFileFilter
andFilenameFilter
.org.apache.commons.io.monitor This package provides a component for monitoring file system events (directory and file create, update and delete events). -
-
Uses of IOCase in org.apache.commons.io
Methods in org.apache.commons.io that return IOCase Modifier and Type Method Description static IOCase
IOCase. forName(java.lang.String name)
Factory method to create an IOCase from a name.static IOCase
IOCase. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IOCase[]
IOCase. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.commons.io with parameters of type IOCase Modifier and Type Method Description static boolean
FilenameUtils. equals(java.lang.String fileName1, java.lang.String fileName2, boolean normalized, IOCase caseSensitivity)
Checks whether two fileNames are equal, optionally normalizing and providing control over the case-sensitivity.static boolean
IOCase. isCaseSensitive(IOCase caseSensitivity)
Tests for cases sensitivity in a null-safe manner.static boolean
FilenameUtils. wildcardMatch(java.lang.String fileName, java.lang.String wildcardMatcher, IOCase caseSensitivity)
Checks a fileName to see if it matches the specified wildcard matcher allowing control over case-sensitivity. -
Uses of IOCase in org.apache.commons.io.comparator
Constructors in org.apache.commons.io.comparator with parameters of type IOCase Constructor Description ExtensionFileComparator(IOCase caseSensitivity)
Construct a file extension comparator instance with the specified case-sensitivity.NameFileComparator(IOCase caseSensitivity)
Construct a file name comparator instance with the specified case-sensitivity.PathFileComparator(IOCase caseSensitivity)
Construct a file path comparator instance with the specified case-sensitivity. -
Uses of IOCase in org.apache.commons.io.filefilter
Methods in org.apache.commons.io.filefilter with parameters of type IOCase Modifier and Type Method Description static IOFileFilter
FileFilterUtils. nameFileFilter(java.lang.String name, IOCase caseSensitivity)
Returns a filter that returns true if the file name matches the specified text.static IOFileFilter
FileFilterUtils. prefixFileFilter(java.lang.String prefix, IOCase caseSensitivity)
Returns a filter that returns true if the file name starts with the specified text.static IOFileFilter
FileFilterUtils. suffixFileFilter(java.lang.String suffix, IOCase caseSensitivity)
Returns a filter that returns true if the file name ends with the specified text.Constructors in org.apache.commons.io.filefilter with parameters of type IOCase Constructor Description NameFileFilter(java.lang.String[] names, IOCase caseSensitivity)
Constructs a new name file filter for an array of names specifying case-sensitivity.NameFileFilter(java.lang.String name, IOCase caseSensitivity)
Construct a new name file filter specifying case-sensitivity.NameFileFilter(java.util.List<java.lang.String> names, IOCase caseSensitivity)
Constructs a new name file filter for a list of names specifying case-sensitivity.PrefixFileFilter(java.lang.String[] prefixes, IOCase caseSensitivity)
Constructs a new Prefix file filter for any of an array of prefixes specifying case-sensitivity.PrefixFileFilter(java.lang.String prefix, IOCase caseSensitivity)
Constructs a new Prefix file filter for a single prefix specifying case-sensitivity.PrefixFileFilter(java.util.List<java.lang.String> prefixes, IOCase caseSensitivity)
Constructs a new Prefix file filter for a list of prefixes specifying case-sensitivity.RegexFileFilter(java.lang.String pattern, IOCase caseSensitivity)
Constructs a new regular expression filter with the specified flags case sensitivity.SuffixFileFilter(java.lang.String[] suffixes, IOCase caseSensitivity)
Constructs a new Suffix file filter for an array of suffixes specifying case-sensitivity.SuffixFileFilter(java.lang.String suffix, IOCase caseSensitivity)
Constructs a new Suffix file filter for a single extension specifying case-sensitivity.SuffixFileFilter(java.util.List<java.lang.String> suffixes, IOCase caseSensitivity)
Constructs a new Suffix file filter for a list of suffixes specifying case-sensitivity.WildcardFileFilter(java.lang.String[] wildcards, IOCase caseSensitivity)
Construct a new wildcard filter for an array of wildcards specifying case-sensitivity.WildcardFileFilter(java.lang.String wildcard, IOCase caseSensitivity)
Construct a new wildcard filter for a single wildcard specifying case-sensitivity.WildcardFileFilter(java.util.List<java.lang.String> wildcards, IOCase caseSensitivity)
Construct a new wildcard filter for a list of wildcards specifying case-sensitivity. -
Uses of IOCase in org.apache.commons.io.monitor
Constructors in org.apache.commons.io.monitor with parameters of type IOCase Constructor Description FileAlterationObserver(java.io.File directory, java.io.FileFilter fileFilter, IOCase caseSensitivity)
Constructs an observer for the specified directory, file filter and file comparator.FileAlterationObserver(java.lang.String directoryName, java.io.FileFilter fileFilter, IOCase caseSensitivity)
Construct an observer for the specified directory, file filter and file comparator.FileAlterationObserver(FileEntry rootEntry, java.io.FileFilter fileFilter, IOCase caseSensitivity)
Constructs an observer for the specified directory, file filter and file comparator.
-