public static void addPattern(String emojiText,Object icon){
  emoticons.put(Pattern.compile(Pattern.quote(emojiText)),icon);
}

public static void addPattern ( String emojiText , Object icon ) { emoticons . put ( Pattern . compile ( Pattern . quote ( emojiText ) ) , icon ) ; }
add text and icon to the map
