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
时间: 2024-10-10 00:08:20