Enum Class AppleFile.FileFormat

java.lang.Object
java.lang.Enum<AppleFile.FileFormat>
com.perforce.p4java.io.apple.AppleFile.FileFormat
All Implemented Interfaces:
Serializable, Comparable<AppleFile.FileFormat>, Constable
Enclosing class:
AppleFile

public static enum AppleFile.FileFormat extends Enum<AppleFile.FileFormat>
The Apple file format.
  • Enum Constant Details

  • Method Details

    • values

      public static AppleFile.FileFormat[] 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 AppleFile.FileFormat 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
    • fromString

      public static AppleFile.FileFormat fromString(String fileFormat)
      Return a suitable Apple file format as inferred from the passed-in string. Otherwise return the UNKNOWN file format.
      Parameters:
      fileFormat - the file format
      Returns:
      the FileFormat