Class MessageService
- java.lang.Object
-
- fr.paris.lutece.plugins.identitystore.v3.web.utils.MessageService
-
public class MessageService extends java.lang.ObjectMessage service class to get hashcodes of technical error message resource keys
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringHASH_ALGORITHMstatic intNB_CHARS
-
Constructor Summary
Constructors Constructor Description MessageService()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetHashcode(java.lang.String strMsgKey)get a hashcode of the resource key in 8 charsstatic java.util.Map<java.lang.String,java.lang.String>getHashCodeList()get a map of hashcode and corresponding resource keys
-
-
-
Field Detail
-
HASH_ALGORITHM
public static final java.lang.String HASH_ALGORITHM
- See Also:
- Constant Field Values
-
NB_CHARS
public static final int NB_CHARS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getHashcode
public static java.lang.String getHashcode(java.lang.String strMsgKey)
get a hashcode of the resource key in 8 chars- Parameters:
strMsgKey-- Returns:
- the hashcode
-
getHashCodeList
public static java.util.Map<java.lang.String,java.lang.String> getHashCodeList()
get a map of hashcode and corresponding resource keys- Returns:
- the map
-
-