- 浏览: 2738 次
- 性别:
- 来自: 苏州
最近访客 更多访客>>
最新评论
-
cccyyy12:
public static void main(String[ ...
java获取properties资源文件内容
文章列表
Demo for use ajax in springmvc
setup the spring xml file:
<mvc:annotation-driven />
<!-- for use annotation-->
<context:component-scan base-package="com.test.controller"/>
<!-- for use common extends controller and annotation , will prompt "No adapter for ...
As there is requriement about compare code in two branches , so just write a demo.
function contains:
1.get checksum of string
2.get checksum of files
3.compare two folders.
package com.jsajax.utilities;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
imp ...
package com.jsajax.utilities;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
public class PropertiesUtility {
public stati ...