public class HtmlEncoder extends Object
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static String |
encodeString(String str)
Returns an HTML-encoded version of the specified string
|
static String |
encodeToken(char ch)
Returns an HTML-encoded equivalent of the specified character.
|
static String |
encodeToken(String str)
Returns an HTML-encoded equivalent of the specified tokenized string,
where tokens such as '<', '>', '\n' and '\r' have been isolated from
other tokens.
|
public static String encodeToken(char ch)
ch - public static String encodeToken(String str)
str - Copyright © 2016. All Rights Reserved.