62,621
社区成员
发帖
与我相关
我的任务
分享
//1
ResourceBundle rb = ResourceBundle.getBundle(name, Locale.getDefault());
//2
InputStream in = JProperties.class.getClassLoader().getResourceAsStream(name);
Properties p = new Properties();
p.load(in);
//3
InputStream in = context.getResourceAsStream(path);
Properties p = new Properties();
p.load(in);