Enum Class NameMatching

java.lang.Object
java.lang.Enum<NameMatching>
be.imgn.gaia.memfs.NameMatching
All Implemented Interfaces:
Serializable, Comparable<NameMatching>, Constable

public enum NameMatching extends Enum<NameMatching>
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
  • Enum Constant Details

    • EXACT

      public static final NameMatching EXACT
      Names match only when they have the same characters, as on Linux.
    • IGNORE_CASE_ASCII

      public static final NameMatching IGNORE_CASE_ASCII
      Names match ignoring the case of ASCII letters: A and a, but not É and é.
    • IGNORE_CASE_UNICODE

      public static final NameMatching IGNORE_CASE_UNICODE
      Names match ignoring the case of any letter, as on macOS and Windows.
  • Method Details

    • values

      public static NameMatching[] 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

      public static NameMatching valueOf(String name)
      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 name
      NullPointerException - if the argument is null