On 4/18/2013 2:13 AM, Alan Bateman wrote:
On 18/04/2013 07:28, huizhe wang wrote:
System.getProperties [1] returns all of the "current" system
properties. Is there a way to get a list of the system reserved
properties such as "java.version" and etc.? Would anyone know?
[1]http://docs.oracle.com/javase/6/docs/api/java/lang/System.html#getProperties%28%29
I'm not 100% sure what you mean by "reserved" but I will guess that
you asking if there is a complete list of the system properties
defined by the Java SE APIs and perhaps the list of JDK-specific
system properties too. Off-hand, I'm not aware of a master list, they
are instead "buried" in the API specs. Is the context the system
properties that JAXP 1.5 is proposing to define?
Yes, those defined by the Java SE APIs or the JDK-specific system
properties. Not related to JAXP 1.5, I'm just asking a general question
to find out if there's an API to get the 'master' list.
-Joe
-Alan