Class UinFilterUtil
- java.lang.Object
-
- io.mosip.kernel.uingenerator.util.UinFilterUtil
-
@Component public class UinFilterUtil extends Object
Filter class to validate a uin against custom filters- Since:
- 1.0.0
- Author:
- Dharmesh Khandelwal, Megha Tanga
-
-
Constructor Summary
Constructors Constructor Description UinFilterUtil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitializeRegEx()booleanisValidId(String id)Checks if the input id is valid by passing the id through the filters
-
-
-
Method Detail
-
initializeRegEx
@PostConstruct public void initializeRegEx()
-
isValidId
public boolean isValidId(String id)
Checks if the input id is valid by passing the id through the filters- Parameters:
id- The input id to validate- Returns:
- true if the input id is valid
-
-