UnicodeUtil (Apache Ant API)
Description: declaration: package: org.apache.tools.ant.util, class: UnicodeUtil

Package org.apache.tools.ant.util

# Class UnicodeUtil

java.lang.Object
org.apache.tools.ant.util.UnicodeUtil

public class UnicodeUtil extends Object
Contains one helper method to create a backslash u escape

Since:
  Ant 1.8.3

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static StringBuffer`
  `EscapeUnicode​(char ch)`
  returns the unicode representation of a char without the leading backslash

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### EscapeUnicode

    public static StringBuffer EscapeUnicode​(char ch)
    returns the unicode representation of a char without the leading backslash
    Parameters:
      `ch` - a character
    Returns:
      unicode representation of a char for property files