Class EntityUtils

java.lang.Object
io.vertx.docgen.EntityUtils

public final class EntityUtils extends Object
An utility class to handle entities.
  • Method Details

    • unescapeEntity

      public static String unescapeEntity(String input)
      Computes the character represented by the given entity. The entity can be given as #xx or as uXXXX. Other form are wrapped into `&` and `;`. This wrapping is allowed as Asciidoctor supports HTML entities, so we don't have to maintain a translation table.
      Parameters:
      input - the entity
      Returns:
      the represented character