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