Enum Class AttributeCopyOption

java.lang.Object
java.lang.Enum<AttributeCopyOption>
com.google.common.jimfs.AttributeCopyOption
All Implemented Interfaces:
Serializable, Comparable<AttributeCopyOption>, Constable

enum AttributeCopyOption extends Enum<AttributeCopyOption>
Options for how to handle copying of file attributes when copying a file.
  • Enum Constant Details

    • ALL

      public static final AttributeCopyOption ALL
      Copy all attributes on the file.
    • BASIC

      public static final AttributeCopyOption BASIC
      Copy only the basic attributes (file times) of the file.
    • NONE

      public static final AttributeCopyOption NONE
      Do not copy any of the file's attributes.
  • Constructor Details

    • AttributeCopyOption

      private AttributeCopyOption()
  • Method Details

    • values

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