# Uses of Enum
org.apache.commons.io.IOCase

Packages that use IOCase
Package
Description
org.apache.commons.io
Provides classes for working with streams, readers, writers and files.
org.apache.commons.io.comparator
Provides various `Comparator` implementations for `File`s and `Path`.
org.apache.commons.io.filefilter
Provides the an interface `IOFileFilter` that combines both `FileFilter` and `FilenameFilter`.
org.apache.commons.io.monitor
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(String name)`
  Looks up an IOCase by name.
  `static IOCase`
  IOCase.`value(IOCase value, IOCase defaultValue)`
  Returns the given value if not-null, the defaultValue if null.
  `static IOCase`
  IOCase.`valueOf(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(String fileName1, String fileName2, boolean normalize, IOCase ioCase)`
  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`
  IOCase.`value(IOCase value, IOCase defaultValue)`
  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

  Constructors in org.apache.commons.io.comparator with parameters of type IOCase
  Modifier
  Constructor
  Description
  ``
  `ExtensionFileComparator(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

  Methods in org.apache.commons.io.filefilter with parameters of type IOCase
  Modifier and Type
  Method
  Description
  `static 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.
  `WildcardFileFilter.Builder`
  WildcardFileFilter.Builder.`setIoCase(IOCase ioCase)`
  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.
  Constructors in org.apache.commons.io.filefilter with parameters of type IOCase
  Modifier
  Constructor
  Description
  ``
  `NameFileFilter(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.
  Use `WildcardFileFilter.builder()`, `WildcardFileFilter.Builder`, and `WildcardFileFilter.Builder.get()`
  ``
  `WildcardFileFilter(String wildcard, IOCase ioCase)`
  Deprecated.
  Use `WildcardFileFilter.builder()`, `WildcardFileFilter.Builder`, and `WildcardFileFilter.Builder.get()`
  ``
  `WildcardFileFilter(List<String> wildcards, IOCase ioCase)`
  Deprecated.
  Use `WildcardFileFilter.builder()`, `WildcardFileFilter.Builder`, and `WildcardFileFilter.Builder.get()`

- ## Uses of IOCase in org.apache.commons.io.monitor

  Constructors in org.apache.commons.io.monitor with parameters of type IOCase
  Modifier
  Constructor
  Description
  ``
  `FileAlterationObserver(File directory, FileFilter fileFilter, IOCase ioCase)`
  Constructs an observer for the specified directory, file filter and file comparator.
  ``
  `FileAlterationObserver(String directoryName, FileFilter fileFilter, IOCase ioCase)`
  Constructs an observer for the specified directory, file filter and file comparator.
  `protected`
  `FileAlterationObserver(FileEntry rootEntry, FileFilter fileFilter, IOCase ioCase)`
  Constructs an observer for the specified directory, file filter and file comparator.