系统属性System Properties

系统属性的查询,方便以后查询用:

 

 

  Properties properties = System.getProperties();
  Set<Object> set = properties.keySet();
     for(Iterator it = set.iterator();it.hasNext();){
	Object next = it.next();
	System.err.println(next+"\t"+properties.getProperty(next.toString()));
			
    } 

 

 

 

 

你可能感兴趣的:(系统属性System Properties)