Class MessageService


  • public class MessageService
    extends java.lang.Object
    Message service class to get hashcodes of technical error message resource keys
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String HASH_ALGORITHM  
      static int NB_CHARS  
    • Constructor Summary

      Constructors 
      Constructor Description
      MessageService()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getHashcode​(java.lang.String strMsgKey)
      get a hashcode of the resource key in 8 chars
      static java.util.Map<java.lang.String,​java.lang.String> getHashCodeList()
      get a map of hashcode and corresponding resource keys
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MessageService

        public MessageService()
    • 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