Package org.forgerock.config.resolvers
Enum Class PropertyResolvers.PropertiesCharsets
java.lang.Object
java.lang.Enum<PropertyResolvers.PropertiesCharsets>
org.forgerock.config.resolvers.PropertyResolvers.PropertiesCharsets
- All Implemented Interfaces:
Serializable
,Comparable<PropertyResolvers.PropertiesCharsets>
,java.lang.constant.Constable
- Enclosing class:
- PropertyResolvers
public static enum PropertyResolvers.PropertiesCharsets
extends Enum<PropertyResolvers.PropertiesCharsets>
Enum representing the charsets used for properties files.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionISO-8859-1 charset for properties files.UTF-8 charset for properties files. -
Method Summary
Modifier and TypeMethodDescriptioncharset()
Returns theCharset
represented by this enum constant.Returns the enum constant of this class with the specified name.static PropertyResolvers.PropertiesCharsets[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UTF_8
UTF-8 charset for properties files. -
ISO_8859_1
ISO-8859-1 charset for properties files.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
charset
Returns theCharset
represented by this enum constant.- Returns:
- the
Charset
represented by this enum constant
-