标签:utf-8 class socket except 读取 socket.io soc cep puts
Properties props=new Properties();
try {
props.load(new InputStreamReader(getClass().getResourceAsStream("/config.properties"), "UTF-8"));
} catch(Exception e) {
e.printStackTrace();
}
props.get("socket.io.ip");
props.get("socket.io.port");
socket.io.ip=114.112.254.XX
socket.io.port=8080
标签:utf-8 class socket except 读取 socket.io soc cep puts
原文地址:http://www.cnblogs.com/eason-d/p/7492083.html