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

📄 jsphandler.java

📁 java系统通用框架 很实用的东东 一般人都看的懂,
💻 JAVA
字号:
/*****************************************************************************
* (C) Copyright 2004 。
* 保留对所有使用、复制、修改和发布整个软件和相关文档的权利。
* 本计算机程序受著作权法和国际公约的保护,未经授权擅自复制或
* 传播本程序的全部或部分,可能受到严厉的民事和刑事制裁,并
* 在法律允许的范围内受到最大可能的起诉。
*/

 /*****************************************************************************
  * @作者:Golden Peng
  * @版本: 1.0
  * @时间: 2002-10-08
  */
 /*****************************************************************************
  * 修改记录清单
  * 修改人  :
  * 修改记录:
  * 修改时间:
  * 修改描述:
  *
  */
package com.corp.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 + -