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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static AbstractPropertiesFactory.PropertyFormattoPropertyFormat(String fileName) Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PROPERTIES
Properties file format. -
XML
XML file format.
-
-
Constructor Details
-
PropertyFormat
private PropertyFormat()
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
toPropertyFormat
-