Package qupath.lib.io

Enum Class UriUpdater.UriStatus

java.lang.Object
java.lang.Enum<UriUpdater.UriStatus>
qupath.lib.io.UriUpdater.UriStatus
All Implemented Interfaces:
Serializable, Comparable<UriUpdater.UriStatus>, Constable
Enclosing class:
UriUpdater<T extends UriResource>

public static enum UriUpdater.UriStatus extends Enum<UriUpdater.UriStatus>
Enum representing the status of a URI, i.e. whether it is known to be accessible or not.
  • Enum Constant Details

    • EXISTS

      public static final UriUpdater.UriStatus EXISTS
      URI refers to a file that is known to exist.
    • MISSING

      public static final UriUpdater.UriStatus MISSING
      URI refers to a file that does not appear to exist or is inaccessible.
    • UNKNOWN

      public static final UriUpdater.UriStatus UNKNOWN
      URI status is unclear, e.g. because it does not refer to a file.
  • Method Details

    • values

      public static UriUpdater.UriStatus[] 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 UriUpdater.UriStatus 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