Uses of Enum
org.apache.commons.io.IOCase
Package
Description
Provides classes for working with streams, readers, writers and files.
Provides a component for monitoring file system events (directory and file create, update and delete events).
-
Uses of IOCase in org.apache.commons.io
Modifier and TypeMethodDescriptionstatic IOCase
Looks up an IOCase by name.static IOCase
Returns the given value if not-null, the defaultValue if null.static IOCase
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.Modifier and TypeMethodDescriptionstatic boolean
Checks whether two file names are equal, optionally normalizing and providing control over the case-sensitivity.static boolean
IOCase.isCaseSensitive
(IOCase ioCase) Tests for cases sensitivity in a null-safe manner.static IOCase
Returns the given value if not-null, the defaultValue if null.static boolean
FilenameUtils.wildcardMatch
(String fileName, String wildcardMatcher, IOCase ioCase) 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
ModifierConstructorDescriptionExtensionFileComparator
(IOCase ioCase) Constructs a file extension comparator instance with the specified case-sensitivity.NameFileComparator
(IOCase ioCase) Constructs a file name comparator instance with the specified case-sensitivity.PathFileComparator
(IOCase ioCase) Constructs a file path comparator instance with the specified case-sensitivity. -
Uses of IOCase in org.apache.commons.io.filefilter
Modifier and TypeMethodDescriptionstatic IOFileFilter
FileFilterUtils.nameFileFilter
(String name, IOCase ioCase) Returns a filter that returns true if the file name matches the specified text.static IOFileFilter
FileFilterUtils.prefixFileFilter
(String prefix, IOCase ioCase) Returns a filter that returns true if the file name starts with the specified text.Sets how to handle case sensitivity, null means case-sensitive.static IOFileFilter
FileFilterUtils.suffixFileFilter
(String suffix, IOCase ioCase) Returns a filter that returns true if the file name ends with the specified text.ModifierConstructorDescriptionNameFileFilter
(String[] names, IOCase ioCase) Constructs a new name file filter for an array of names specifying case-sensitivity.NameFileFilter
(String name, IOCase ioCase) Constructs a new name file filter specifying case-sensitivity.NameFileFilter
(List<String> names, IOCase ioCase) Constructs a new name file filter for a list of names specifying case-sensitivity.PrefixFileFilter
(String[] prefixes, IOCase ioCase) Constructs a new Prefix file filter for any of an array of prefixes specifying case-sensitivity.PrefixFileFilter
(String prefix, IOCase ioCase) Constructs a new Prefix file filter for a single prefix specifying case-sensitivity.PrefixFileFilter
(List<String> prefixes, IOCase ioCase) Constructs a new Prefix file filter for a list of prefixes specifying case-sensitivity.RegexFileFilter
(String pattern, IOCase ioCase) Constructs a new regular expression filter with the specified flags case sensitivity.SuffixFileFilter
(String[] suffixes, IOCase ioCase) Constructs a new Suffix file filter for an array of suffixes specifying case-sensitivity.SuffixFileFilter
(String suffix, IOCase ioCase) Constructs a new Suffix file filter for a single extension specifying case-sensitivity.SuffixFileFilter
(List<String> suffixes, IOCase ioCase) Constructs a new Suffix file filter for a list of suffixes specifying case-sensitivity.WildcardFileFilter
(String[] wildcards, IOCase ioCase) Deprecated.WildcardFileFilter
(String wildcard, IOCase ioCase) Deprecated.WildcardFileFilter
(List<String> wildcards, IOCase ioCase) Deprecated. -
Uses of IOCase in org.apache.commons.io.monitor
Modifier and TypeMethodDescriptionSets what case sensitivity to use comparing file names, null means system sensitive.ModifierConstructorDescriptionFileAlterationObserver
(File directory, FileFilter fileFilter, IOCase ioCase) Deprecated.FileAlterationObserver
(String directoryName, FileFilter fileFilter, IOCase ioCase) Deprecated.protected
FileAlterationObserver
(FileEntry rootEntry, FileFilter fileFilter, IOCase ioCase) Constructs an observer for the specified directory, file filter and file comparator.
WildcardFileFilter.builder()
,WildcardFileFilter.Builder
, andWildcardFileFilter.Builder.get()