esc.java
来自「LazyJ是一个快速Web应用程序开发框架。它包括: *.一个非常快的模板引擎」· Java 代码 · 共 34 行
JAVA
34 行
/** * */package lazyj.page.tags;import lazyj.Format;import lazyj.page.StringFormat;/** * <i>esc</i> tag produces an HTML-safe encoding of the value. * * @author costing * @since 2006-10-13 * @see Enc * @see JS */public final class Esc implements StringFormat { /** * Convert a string into a HTML-safe representation of it. Use this when you are about to display strings * that might contain special html characters. * * @param sTag ignored * @param sOption always "esc" * @param s value to encode * @return html-safe representation of the original string * @see Format#escHtml(String) */ public String format(final String sTag, final String sOption,final String s) { return Format.escHtml(s); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?