InputStream in = PropReader.class.getClassLoader().getResourceAsStream(StaticFinal.CONFIG_PATH);
            

其中StaticFinal.CONFIG是字符串常量,指定properties的文件名

posted on 2013-08-27 17:02  new PersonBean()  阅读(123)  评论(0编辑  收藏  举报