Package org.pac4j.core.profile.converter
Class IntegerConverter
java.lang.Object
org.pac4j.core.profile.converter.AbstractAttributeConverter
org.pac4j.core.profile.converter.IntegerConverter
- All Implemented Interfaces:
AttributeConverter
This class converts a String into an Integer or returns the Integer in input.
- Since:
- 1.1.0
- Author:
- Jerome Leleu
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Integer
internalConvert
(Object attribute) internalConvert.Methods inherited from class org.pac4j.core.profile.converter.AbstractAttributeConverter
accept, convert, defaultValue
-
Constructor Details
-
IntegerConverter
public IntegerConverter()Constructor for IntegerConverter.
-
-
Method Details
-
internalConvert
internalConvert.
- Overrides:
internalConvert
in classAbstractAttributeConverter
- Parameters:
attribute
- aObject
object- Returns:
- a
Object
object
-