Package org.pac4j.core.profile.converter
Class LongConverter
- java.lang.Object
-
- org.pac4j.core.profile.converter.AbstractAttributeConverter<Long>
-
- org.pac4j.core.profile.converter.LongConverter
-
- All Implemented Interfaces:
AttributeConverter<Long>
public final class LongConverter extends AbstractAttributeConverter<Long>
This class converts a String into a Long or returns the Long (or Integer) in input.- Since:
- 1.2.0
- Author:
- Jerome Leleu
-
-
Constructor Summary
Constructors Constructor Description LongConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Long
internalConvert(Object attribute)
-
Methods inherited from class org.pac4j.core.profile.converter.AbstractAttributeConverter
accept, convert, defaultValue
-
-
-
-
Method Detail
-
internalConvert
protected Long internalConvert(Object attribute)
- Overrides:
internalConvert
in classAbstractAttributeConverter<Long>
-
-