System.getProperties

来源:互联网 发布:通信工程学java有用吗 编辑:程序博客网 时间:2024/04/28 07:10
查看系统属性
Properties pros = System.getProperties();for(Entry tmp : pros.entrySet()){<span style="white-space:pre"></span>System.out.println(tmp.getKey() + ":" + tmp.getValue());}

0 0