InputStream in = getClass().getResourceAsStream(”/product.properties”);
Reader reader = new InputStreamReader(in, “UTF-8“);
编辑特别推荐: