# Enum AbstractPropertiesFactory.PropertyFormat

java.lang.Object
java.lang.Enum<AbstractPropertiesFactory.PropertyFormat>
org.apache.commons.collections4.properties.AbstractPropertiesFactory.PropertyFormat

All Implemented Interfaces:
  `Serializable`, `Comparable<AbstractPropertiesFactory.PropertyFormat>`

Enclosing class:
  `AbstractPropertiesFactory<T extends Properties>`

public static enum AbstractPropertiesFactory.PropertyFormat extends Enum<AbstractPropertiesFactory.PropertyFormat>
Enumerates property formats.

Since:
  4.5.0-M1

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `PROPERTIES`
  Properties file format.
  `XML`
  XML file format.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static AbstractPropertiesFactory.PropertyFormat`
  `valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static AbstractPropertiesFactory.PropertyFormat[]`
  `values()`
  Returns an array containing the constants of this enum type, in the order they are declared.

  ### Methods inherited from class java.lang.Enum

  `clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods inherited from class java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## Enum Constant Details

  - ### PROPERTIES

    public static final AbstractPropertiesFactory.PropertyFormat PROPERTIES
    Properties file format.

  - ### XML

    public static final AbstractPropertiesFactory.PropertyFormat XML
    XML file format.

- ## Method Details

  - ### values

    public static AbstractPropertiesFactory.PropertyFormat[] 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 AbstractPropertiesFactory.PropertyFormat 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