Class EntitiesToUnicode


  • class EntitiesToUnicode
    extends java.lang.Object
    This class contains entities that can be used in an entity tag.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.HashMap map
      This is a map that contains the names of entities and their unicode value.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static char decodeEntity​(java.lang.String name)
      Translates an entity to a unicode character.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • map

        private static final java.util.HashMap map
        This is a map that contains the names of entities and their unicode value.
    • Constructor Detail

      • EntitiesToUnicode

        EntitiesToUnicode()
    • Method Detail

      • decodeEntity

        public static char decodeEntity​(java.lang.String name)
        Translates an entity to a unicode character.
        Parameters:
        name - the name of the entity
        Returns:
        the corresponding unicode character