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
public final class IntegerConverter extends AbstractAttributeConverter
This class converts a String into an Integer or returns the Integer in input.- Since:
- 1.1.0
- Author:
- Jerome Leleu
-
-
Constructor Summary
Constructors Constructor Description IntegerConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Integer
internalConvert(java.lang.Object attribute)
-
Methods inherited from class org.pac4j.core.profile.converter.AbstractAttributeConverter
accept, convert, defaultValue
-
-
-
-
Method Detail
-
internalConvert
protected java.lang.Integer internalConvert(java.lang.Object attribute)
- Overrides:
internalConvert
in classAbstractAttributeConverter
-
-