05 2012 档案

摘要:导入zip文件,也很简单。核心代码如下: ZipInputStream zipInputStream = null;try { zipInputStream = new ZipInputStream(new FileInputStream(file)); ... 阅读全文
posted @ 2012-05-31 15:08 Alex Von Kwok 阅读(3045) 评论(0) 推荐(0)
摘要:JAVA类:1、ServiceCfgLoader。package org.sinosoft.perfect.common;import java.io.IOException;import java.io.InputStream;import java.io.InputStreamReader;im... 阅读全文
posted @ 2012-05-27 23:13 Alex Von Kwok 阅读(3584) 评论(0) 推荐(1)
摘要:/** * js实现list * */function List() { this.value = []; /* 添加 */ this.add = function(obj) { return this.value.push(obj); }; /* ... 阅读全文
posted @ 2012-05-27 21:49 Alex Von Kwok 阅读(1019) 评论(0) 推荐(0)
摘要:/* * MAP对象,实现MAP功能 * * 接口: * size() 获取MAP元素个数 * isEmpty() 判断MAP是否为空 * clear() 删除MAP所有元素 * put(key, value) 向MAP中增加元素(key, value) * remo... 阅读全文
posted @ 2012-05-27 21:46 Alex Von Kwok 阅读(8150) 评论(0) 推荐(0)
摘要:jQuery获取Select选择的Text和Value: 语法解释: 1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发 2. var checkText=$("#select... 阅读全文
posted @ 2012-05-27 17:05 Alex Von Kwok 阅读(156) 评论(0) 推荐(0)