Class HqlHumanUtil.UnicodeCodepointUnescaper
- java.lang.Object
-
- org.apache.commons.lang3.text.translate.CharSequenceTranslator
-
- org.hansken.plugin.extraction.hql_lite.lang.human.HqlHumanUtil.UnicodeCodepointUnescaper
-
- Enclosing class:
- HqlHumanUtil
public static class HqlHumanUtil.UnicodeCodepointUnescaper extends org.apache.commons.lang3.text.translate.CharSequenceTranslatorUnicode Codepoint Unescaper. Parses unicode escape seuqences formatted as \\u{codepoint}. Where codepoint is a hexadecimal number indicating the codepoint. See https://ecma-international.org/ecma-262/6.0/#sec-literals-string-literals
-
-
Constructor Summary
Constructors Constructor Description UnicodeCodepointUnescaper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description inttranslate(CharSequence input, int index, Writer out)
-
-
-
Method Detail
-
translate
public int translate(CharSequence input, int index, Writer out) throws IOException
- Specified by:
translatein classorg.apache.commons.lang3.text.translate.CharSequenceTranslator- Throws:
IOException
-
-