java读取属性文件的方法主要有两种:一是使用Class的getResourceAsStream方法:InputStream in context.ge
java读取属性文件的方法
主要有两种:
一是使用Class的getResourceAsStream方法:
InputStream in = context.getResourceAsStream(path);Properties p = new Properties();p.load(in);?
?
?
?
?
?
java读取属性文件的方法
主要有两种:
一是使用Class的getResourceAsStream方法:
InputStream in = context.getResourceAsStream(path);Properties p = new Properties();p.load(in);?
?
?
?
?
?