Here you can find the source of appendHexEntity(final StringBuilder out, final char value)
Parameter | Description |
---|---|
out | The StringBuilder to write to. |
value | The character. |
public final static void appendHexEntity(final StringBuilder out, final char value)
//package com.java2s; //License from project: Apache License public class Main { /**/*from w w w .j a v a 2s . c om*/ * Append the given char as a hexadecimal HTML entity. * * @param out The StringBuilder to write to. * @param value The character. */ public final static void appendHexEntity(final StringBuilder out, final char value) { out.append("&#x"); out.append(Integer.toHexString(value)); out.append(';'); } }