Package org.pac4j.core.profile.converter
Class IntegerConverter
- java.lang.Object
-
- org.pac4j.core.profile.converter.AbstractAttributeConverter<Integer>
-
- org.pac4j.core.profile.converter.IntegerConverter
-
- All Implemented Interfaces:
AttributeConverter<Integer>
public final class IntegerConverter extends AbstractAttributeConverter<Integer>
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 Integer
internalConvert(Object attribute)
-
Methods inherited from class org.pac4j.core.profile.converter.AbstractAttributeConverter
accept, convert, defaultValue
-
-
-
-
Method Detail
-
internalConvert
protected Integer internalConvert(Object attribute)
- Overrides:
internalConvert
in classAbstractAttributeConverter<Integer>
-
-