Enum Class NameMatching
- All Implemented Interfaces:
Serializable, Comparable<NameMatching>, Constable
How the names of the files of a directory are matched when they are looked up. The names are always shown as they
were created.
- Since:
- 0.1.1
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNames match only when they have the same characters, as on Linux.Names match ignoring the case of ASCII letters:Aanda, but notÉandé.Names match ignoring the case of any letter, as on macOS and Windows. -
Method Summary
Modifier and TypeMethodDescriptionstatic NameMatchingReturns the enum constant of this class with the specified name.static NameMatching[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXACT
Names match only when they have the same characters, as on Linux. -
IGNORE_CASE_ASCII
Names match ignoring the case of ASCII letters:Aanda, but notÉandé. -
IGNORE_CASE_UNICODE
Names match ignoring the case of any letter, as on macOS and Windows.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-