yujian
2019-01-19 a9129b96fa14c77df166f367be1d8220c8f9d0b7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package org.yeshi.utils;
 
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
 
public class PropertiesUtil {
 
    public static Properties getProperties(InputStream input) {
        Properties ps = new Properties();
        try {
            ps.load(input);
        } catch (IOException e) {
            e.printStackTrace();
        }
        return ps;
    }
    
    
    
 
}