Enum GetPath.Purpose

java.lang.Object
java.lang.Enum<GetPath.Purpose>
gov.nih.mipav.view.GetPath.Purpose
All Implemented Interfaces:
Serializable, Comparable<GetPath.Purpose>, java.lang.constant.Constable
Enclosing class:
GetPath

public static enum GetPath.Purpose extends Enum<GetPath.Purpose>
  • Enum Constant Details

    • FOR_READING

      public static final GetPath.Purpose FOR_READING
      File will be used only for reading.
    • FOR_WRITING

      public static final GetPath.Purpose FOR_WRITING
      File will be used for writing, and could be used for reading.
  • Constructor Details

    • Purpose

      private Purpose()
  • Method Details

    • values

      public static GetPath.Purpose[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static GetPath.Purpose valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null