⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jsphandler.java~1~

📁 java系统通用框架 很实用的东东 一般人都看的懂,
💻 JAVA~1~
字号:
package com.ibm.bisc.ebiz.util;

import java.util.*;
/**
 * 此处插入类型描述。
 * 创建日期:(2002-6-3 20:28:49)
 * @author:pangwei
 */
public class JspHandler {
	public static final int STRING = 0;
	public static final int SHORT = 1;
	public static final int INT = 2;
	public static final int INTEGER = 2;
	public static final int LONG = 3;
	public static final int FLOAT = 4;
	public static final int DOUBLE = 5;
	public static final int CHAR = 6;
	public static final int BOOLEAN = 7;
	public static final int CALENDAR = 8;
	public static Hashtable htmlChars;
	static{
		htmlChars = new Hashtable();
		htmlChars.put( ">", ">" );
		htmlChars.put( "<", "&lt;" );
		htmlChars.put( "&", "&amp;" );
		htmlChars.put( "'", "&apos;" );
		htmlChars.put( "\"", "&quot;" );
	}
/**
 * JspHandler 构造子注解。
 */
public JspHandler() {
	super();
}
/**
 * 此处插入方法描述。
 * 创建日期:(2002-6-3 20:31:11)
 * @return java.lang.String
 * @param ch char
 */
public static String charToHtmlString(char ch) {
	String temp = new String(new char[] {ch});
	if (htmlChars.containsKey(temp)) {
		temp = (String) htmlChars.get(temp);
	}
	return temp;
}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -